React-tooltip: How can I dynamically increase the height of the tooltip based on the content

Created on 3 Apr 2019  路  3Comments  路  Source: wwayne/react-tooltip

Most helpful comment

Same as above, currently the tooltip only accept \
I think maybe it's better to implement a "maxwidth" props so we can control the style easier.
Thanks.

All 3 comments

Can you please be more specific about what content you are trying to display, using what method, and what is not working?

I have a similar issue, where the the text is just overflowing out of the toopTip container. Instead, I want the tool tip width as fixed width and the height to increase based on content instead of single line text.

Same as above, currently the tooltip only accept \
I think maybe it's better to implement a "maxwidth" props so we can control the style easier.
Thanks.

Was this page helpful?
0 / 5 - 0 ratings