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

Slider Tooltip is scrolling with the main scroll container on fixed elements #13030

Closed
1 task done
leifmarcus opened this issue Nov 8, 2018 · 4 comments
Closed
1 task done
Assignees

Comments

@leifmarcus
Copy link

leifmarcus commented Nov 8, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.10.4

Environment

MacOS Mojave (10.14), Chrome Browser (70.0.3538.77), react version 16.5.2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

click the link to the reproduction provided codesandbox.io

  1. drag the slider on the slider module
  2. wile the tooltiop is open, start scrolling the page

What is expected?

the tooltip should stay at the same position

What is actually happening?

the tooltip scrolls with the main page

@orzyyyy
Copy link
Contributor

orzyyyy commented Nov 10, 2018

Why not change position: fixed to position: absolute?

@zombieJ
Copy link
Member

zombieJ commented Nov 10, 2018

duplicate of #3438

@zombieJ zombieJ closed this as completed Nov 10, 2018
@leifmarcus
Copy link
Author

This is a different topic than addressed in #3438. I hope this can be opened again, because the tooltip does not have the option to declare a scroll container as the select field has

@zombieJ
Copy link
Member

zombieJ commented Jan 9, 2019

These popup is use same Trigger component. getPopupContainer also works on the tooltip of slider: https://codesandbox.io/s/9yy6k3qkwo

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

No branches or pull requests

3 participants