Typing in an input inside a position: sticky div causes browser to scroll to 0
Reported by
adamrac...@gmail.com,
Jan 30 2017
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36 Steps to reproduce the problem: 1. http://mylibrary.io/#view/?userId=573d1b97120426ef0078aa92&tags=578c336769991ef9000feaff 2. Scroll down 3. Focus, then type in the input at the top of the page (the one next to the "Full Search" button) What is the expected behavior? Input will simply receive the text. What went wrong? The whole page scrolled up Did this work before? N/A Chrome version: 56.0.2924.76 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 24.0 r0
,
Jan 30 2017
,
Jan 31 2017
Able to reproduce the issue on windows 7, Linux Ubuntu 14.04 and Mac 10.12.2 using chrome version 56.0.2924.76 and canary 58.0.2998.0. This is reproducible till M55.M54 and prior versions the text box was hidden if we scroll the page.Please find the attached screen cast for the same. Marking it as Untriaged to get more inputs from dev team. Thanks,
,
Jan 31 2017
Right - prior versions didn't support position: sticky, which is what keeps the textbox visible, even as you scroll.
,
Feb 2 2017
Sounds like scrollIntoView needs to be changed to take position:sticky into account.
,
Feb 9 2017
I recall we did add something to scrollIntoView for position: sticky but I guess there's something going on. Sandra, ptal. I think we'd like this fixed for M57.
,
Feb 9 2017
,
Feb 9 2017
This is caused by the constraints not being ready immediately after modifying the element. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by ligim...@chromium.org
, Jan 30 2017