Focus in two place at the same time
Reported by
kang...@gmail.com,
Mar 14 2017
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: Reproduced here: https://jsfiddle.net/5w3Ly5pc/2/ Follow the steps on the right. What is the expected behavior? Focus should only be on the button. What went wrong? Focus is on the button but subsequent keypress gets directed to the input element. Did this work before? No Does this work in other browsers? Yes Chrome version: 56.0.2924.87 Channel: n/a OS Version: 6.3 Flash Version: This is a resubmission of an existing report, but the old report has been archived as "unconfirmed" and it does not appear that it will be looked at again. The linked JSFiddle should confirm the issue.
,
Mar 15 2017
Tested on windows 7 , 10 & 8.1 , mac os 10.12.2 , ubuntu 14.04 using latest chrome stable M57 #57.0.2987.98 and chrome canary M59 #59.0.3041.0 and issue is reproduced. Attached screencast for reference. Issue is seen from M40 #40.0.2172.0 and is a non-regression issue. Marking it as untraiged for further inputs on this. Thanks!
,
Mar 16 2017
Here's a copy from the instruction in the linked jsfiddle: 1 First select the text in input element[1]. 2 Then click the button[3] below the "box" (which is an iframe). The click handler transfers focus programatically to button in iFrame[2]. 3 Press space bar or enter key to trigger click handler for the button in the iFrame[2]. 4 Note that the target element for the keydown event captured at document level is BUTTON[2]. 5 This confirms the focus is actually on the button. 6 However, Issue #1: The text in the input element[1] is selected with a blue background not gray. 7 Type a letter. Issue #2 : Notice that it appeared appear in the input element[1]! 8 Also notice that the blue focus highlighting on the button is now gone but... 9 The target element for the keydown event is still BUTTON[2]! 10 Type another letter. It also appears in the input element but now the target element for the keydown event is (correctly) the input element[1]. 11 Pressing space bar / enter key no longer triggers the button[2] click confirming it no longer has focus. There are 2 issues reported in this (in item 6 and 7). - Issue #1: The text in the input element[1] is selected with a blue background not gray. - Issue #2 : Notice that it appeared in the input element[1] I tried M57 on Linux, and confirmed #1, but not #2. The video on comment #2 seems only tested #1. On windows with M56, I could reproduce #2. I retried with M57 and #2 was not reproducible. From these above I conclude #1 is the only problem and #2 was fixed during M57 development. kang...@, if you could confirm the issue #2 is fixed once you get your Chrome updated to M57, it's much appreciated. Thanks for the report!
,
Mar 16 2017
Confirmed issue #2 is fixed with M57. Thank you!
,
Sep 29 2017
,
Sep 29 2017
,
Oct 4 2017
,
Oct 4
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 5
Mark fixed per #c4 and confirmed with M69. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by nyerramilli@chromium.org
, Mar 15 2017