serenajiang opened a new issue #14437: URL: https://github.com/apache/superset/issues/14437
On Sankey visualizations, the tooltips always appear to the right of the cursor, which can sometimes be cut-off if it runs off the chart. This means that users are unable to read the tooltip for the "targets". This might technically be a cosmetic issue, but since this bug results in users being unable to read tooltips, I filed it as a bug. ### Expected results Tooltip should adjust its position to always be visible, instead of always appearing to the right of the cursor. Ideally, I think the tooltip would follow the cursor (similar to line charts). ### Actual results Tooltip always appears to the right of the cursor, so it sometimes gets cut off. #### Screenshots https://user-images.githubusercontent.com/14146019/116744917-a787d500-a9af-11eb-8049-fbc84d645ba3.mov #### How to reproduce the bug 1. Create a Sankey viz 2. Hover mouse over the chart near the right side ### Environment (please complete the following information): - superset version: `superset version`: up-to-date with master as of April 2021 - python version: `python --version`: 3.8 - node.js version: `node -v`: v14.16.1 ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [X] I have checked the superset logs for python stacktraces and included it here as text if there are any. (frontend, so n/a) - [X] I have reproduced the issue with at least the latest released version of superset. - [X] I have checked the issue tracker for the same issue and I haven't found one similar. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
