New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 686745 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 672457
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug



Sign in to add a comment

Typing in an input inside a position: sticky div causes browser to scroll to 0

Reported by adamrac...@gmail.com, Jan 30 2017

Issue description

UserAgent: 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
 
Labels: Prestable-56.0.2924.76 Needs-Triage-M56

Comment 2 by tkent@chromium.org, Jan 30 2017

Components: -UI Blink>Layout
Cc: kavvaru@chromium.org
Labels: -Pri-2 -Needs-Triage-M56 M-56 OS-Linux OS-Mac Pri-1
Status: Untriaged (was: Unconfirmed)
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,

 
686745.mp4
993 KB View Download
Right - prior versions didn't support position: sticky, which is what keeps the textbox visible, even as you scroll. 

Comment 5 by e...@chromium.org, Feb 2 2017

Components: -Blink>Layout Blink>Scroll
Sounds like scrollIntoView needs to be changed to take position:sticky into account.

Comment 6 by bokan@chromium.org, Feb 9 2017

Cc: flackr@chromium.org
Labels: -M-56 ReleaseBlock-Stable M-57
Owner: sunyunjia@chromium.org
Status: Assigned (was: Untriaged)
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.

Comment 7 by bokan@chromium.org, Feb 9 2017

Cc: bokan@chromium.org
Cc: -bokan@chromium.org
Mergedinto: 672457
Status: Duplicate (was: Assigned)
This is caused by the constraints not being ready immediately after modifying the element.

Sign in to add a comment