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

Tooltips do not preserve position on scroll #2999

Closed
ellatrix opened this issue Oct 12, 2017 · 2 comments · Fixed by #3007
Closed

Tooltips do not preserve position on scroll #2999

ellatrix opened this issue Oct 12, 2017 · 2 comments · Fixed by #3007
Labels
[Feature] UI Components Impacts or related to the UI component system [Type] Bug An existing feature does not function as intended

Comments

@ellatrix
Copy link
Member

Issue Overview

Tooltips do not scroll with the element they're supposed to attached to.

Steps to Reproduce (for bugs)

  1. Hover over or focus something with a tooltip.
  2. Scroll. The tooltip won't scroll with the page.

Possible Solution

I assume the tooltip is fixed positioned. Maybe absolute positioning works out better?

@ellatrix ellatrix added [Feature] UI Components Impacts or related to the UI component system [Type] Bug An existing feature does not function as intended labels Oct 12, 2017
@youknowriad
Copy link
Contributor

Experiencing the same issue with dropdowns here #2987

@youknowriad
Copy link
Contributor

I see two options:

  • Track all parent scrollables scroll event
  • Provide a way ( a prop or something) to opt-in absolute positioning instead of fixed positioning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants