Skip to content

Should tooltip follow component/element on scroll? #4207

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

Closed
Steven-MKN opened this issue Nov 29, 2023 · 2 comments
Closed

Should tooltip follow component/element on scroll? #4207

Steven-MKN opened this issue Nov 29, 2023 · 2 comments
Labels
question Question related to the library, not an issue Tooltip

Comments

@Steven-MKN
Copy link

Ask your Question

Hi, I would just like to open a discussion by posing this question.

Currently, if you have a scrollable list of elements, the tooltip will not follow the element it is anchored to when scrolling.

How to try this out:

  1. have a long list of scrollable elements on screen,
  2. trigger the tooltip to show on one of them,
  3. as the tooltip text is showing, scroll through the elements
    Observe the tooltip stays stationary

My question is this sufficient, or do we maybe want the tooltip to either follow the element it is anchored to, or hide once a scroll happens (or even once a touch registers outside its borders)?

@Steven-MKN Steven-MKN added the question Question related to the library, not an issue label Nov 29, 2023
@eduardacarvalho00
Copy link

Somebody know something about this issues? My tooltip don't follow the component in scroll too

@lukewalczak
Copy link
Member

Hey! There's currently no functionality for having the tooltip follow the component, and it's not something we have planned to support right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question related to the library, not an issue Tooltip
Projects
None yet
Development

No branches or pull requests

3 participants