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

sticky issue with select element #3009

Closed
prosperva opened this issue Aug 10, 2018 · 2 comments
Closed

sticky issue with select element #3009

prosperva opened this issue Aug 10, 2018 · 2 comments

Comments

@prosperva
Copy link

I have a select in the middle of a page and that select is set to be sticky when the user scrolls. But when I click on it, the page scrolls back up. See this fiddle:

http://jsfiddle.net/0nxvjt46/24/

@tabatkins
Copy link
Member

Confirmed that this happens in Chrome. Looks like this is a side effect of it getting focused, and the code that brings focused elements into view isn't aware of sticky positioning.

I filed a Chrome bug for this: https://bugs.chromium.org/p/chromium/issues/detail?id=873233

@tabatkins
Copy link
Member

(This does not happen in Firefox. I can't test Safari or Edge at the moment.)

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

2 participants