Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition tooltip : tooltip and the caret icon is not aligned when used in larger texts #17848

Open
amal-k-joy opened this issue Oct 23, 2024 · 3 comments · May be fixed by #17964
Open

Definition tooltip : tooltip and the caret icon is not aligned when used in larger texts #17848

amal-k-joy opened this issue Oct 23, 2024 · 3 comments · May be fixed by #17964
Assignees
Labels
component: tooltip package: react carbon-components-react severity: 2 https://ibm.biz/carbon-severity type: bug 🐛

Comments

@amal-k-joy
Copy link

When we use Definition tooltip for larger texts and set align to bottom-right | bottom-left , the tooltip content is aligned accordingly , but the caret icon remains at the centre.

Image

@alisonjoseph
Copy link
Member

Can you recreate this in a Stackblitz, I'm unable to duplicate.

@alisonjoseph alisonjoseph added status: needs reproduction Issues lacking a code reproduction type: bug 🐛 labels Oct 23, 2024
@amal-k-joy
Copy link
Author

Hi @alisonjoseph ,
Please find the modified stackblitz for the issue.

@alisonjoseph
Copy link
Member

Thanks for the example, so this seems related to the length of the text, not the font size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tooltip package: react carbon-components-react severity: 2 https://ibm.biz/carbon-severity type: bug 🐛
Projects
Status: 🚦 In Review
Development

Successfully merging a pull request may close this issue.

3 participants