tremorlabs / tremor

React components to build charts and dashboards
https://tremor.so
Apache License 2.0
15.53k stars 450 forks source link

[Bug]: tooltip text overflows if text is long #966

Closed AbdullahHakeemNP closed 2 months ago

AbdullahHakeemNP commented 3 months ago

Tremor Version

3.14.0

Link to minimal reproduction

no

Steps to reproduce

just use the icon component with a tooltip and make the tooltip text too long

image

What is expected?

tooltip background should cover the whole text

What is actually happening?

the text overflows the tooltip

What browsers are you seeing the problem on?

Chrome, Microsoft Edge, Safari, Firefox

Any additional comments?

No response

AbdullahHakeemNP commented 3 months ago

Is this going to be fixed anytime soon?

jho14 commented 3 months ago

+1, the max-w-xs in the tooltip CSS is causing this.

jho14 commented 3 months ago

Please allow for manual styling of the tooltip

severinlandolt commented 2 months ago

Hey there! We decided to adjust the defaults in our next release. But no Tooltip prop.

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 3.15.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 3.16.0-beta.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

AbdullahHakeemNP commented 1 month ago

Hey there! We decided to adjust the defaults in our next release. But no Tooltip prop. Screenshot 1445-10-15 at 10 10 29 AM the issue have not been fixed i'm on 3.16.1

severinlandolt commented 1 month ago

Hi! The tooltip should wrap automatically. Like this: CleanShot 2024-04-24 at 11 23 40@2x

Could you share a code snippet of this?