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

Tooltip issue when aligned to right of screen #9561

Closed
tw15egan opened this issue Aug 30, 2021 · 1 comment · Fixed by #9606
Closed

Tooltip issue when aligned to right of screen #9561

tw15egan opened this issue Aug 30, 2021 · 1 comment · Fixed by #9606

Comments

@tw15egan
Copy link
Collaborator

Noticed while reviewing #9556

Screen Shot 2021-08-30 at 1 11 10 PM Screen Shot 2021-08-30 at 1 11 33 PM

Additional info provided by @TuxedoFish confirming the issue was an existing bug

#9556 (comment)

Possibly due to the storybook being inside of a flex container causing positioning issues when right-aligned

@TuxedoFish
Copy link
Contributor

Update on this issue: it seems like if you do one update and then set a timeout and repeat the update for the _updateMenuSize function a second later it will adjust. Obviously not a fix, but

Screen.Recording.2021-09-05.at.19.49.08.mov

Then a proposed solution is to add a callback into setState such that it refirest _updateMenuSize as an "adjustment" and instantly updates this. Thoughts on this?

Screenshot 2021-09-05 at 20 08 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants