[chart]rich tooltip text overflows outside of the parent div for line chart #12688
Comments
|
@bryanck hey, thanks for reporting issues lately! do you minding include Superset version? this looks like a good first issue, lmk if you would like to work on it. :) |
|
This is version 1.0. I can create a PR in superset-ui. I was thinking to remove the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screenshot
Description
The rich tooltip text renders in a table that is inside a parent div that has the max-width set. If the text in the table is too wide, then the text will render outside of the div.
This is being caused by this line setting the max width of the div:
https://github.com/apache-superset/superset-ui/blob/b7a2f5241b56ff78dfb3f53105383fc40b12e0e9/plugins/legacy-preset-chart-nvd3/src/utils.js#L317
You can reproduce this by creating a multiline chart, group by a field with longer strings, and then reducing the width of the chart by resizing your browser window.
The text was updated successfully, but these errors were encountered: