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

Issue 667925 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Shadow DOM v1: Focused input is brought into view if inserting a new node in the light DOM.

Project Member Reported by egarciad@chromium.org, Nov 22 2016

Issue description

Version: 54.0.2840.98, Dev channel and Canary
OS: OSX

REPRO: http://output.jsbin.com/wiseve
(1) Focus the first input.
(2) Try to scroll.
(3) See how the browser keeps trying to bring that input into view.

What steps will reproduce the problem?
(1) Have a shadow root
(2) Put a few inputs in the light DOM.
(3) Focus one of the input.
(4) Append a div to the light DOM.

What is the expected result?

The browser shouldn't bring the focused input into view.

What happens instead?

The browser does bring that input into view.

 
repro.html
889 bytes View Download
Description: Show this description
Description: Show this description
Description: Show this description

Comment 4 by hayato@chromium.org, Nov 28 2016

Owner: kochi@chromium.org
Status: Assigned (was: Untriaged)
Components: Blink>HTML>Focus
Components: -Blink>Focus
Status: WontFix (was: Assigned)
I tried the repro attached to the OP today on Mac and Linux, and it doesn't seem
to reproduce any more.  Probably some scrolling behavior was fixed already.

Reporter, sorry for leaving this long time, but if this still reproduces for you,
please feel free to reopen.

Sign in to add a comment