HTML 5 datalist selection inputs to wrong field when the tab key was pressed
Reported by
mattemer...@gmail.com,
Sep 27
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Steps to reproduce the problem: I apologize because reproduction is proving very difficult to do reliably, if I spend 5-10 minutes try I can get it to do it, but it is really hit or miss. 1. I select a field that has an HTML5 datalist, the list of options appears, I start to type a few characters to reduce the list, then I use the keyboard to select an item in the list. 2. Once the item is selected I push the tab key on the keyboard. 95% of the time the selected text is placed in the correct input, 5% of the time the input is instead placed in the next field that the tab key focuses on. What is the expected behavior? I would expect the selected text always appears in the correct input, not in the next input field that is focused. What went wrong? I am somewhat new to troubleshooting this, the best thing I could think to do was use the Chrome performance profiler to try to capture what is occurring. So I have done that, attached are 3 screenshots the Chrome profiler captured. "1 Before tab" is what is painted before the datalist is displayed, the user then is presented the datalist, and types a letter 'e' in the left most input in this example. You can see the field is highlighted blue because of the material design styling applied. "2 After tab" shows the next paint event Chrome does after the user presses tab, notice the right input now has the highlighted 'e' but the material design blue highlight is still on the left most input "3 Data in wrong input" shows the final result, the datalist item selected is now in the input field on the right even though the datalist was selected on the left input field. The material Design highlighting is just starting to draw on the right input field I also have three screenshots of the profile waterfall "profile timelineA" show the keypress that starts the whole event, this would be the tab key from the datalist "profile timelineB" is the next set of events that occur between picture 2 & 3 above "profile timelineC" is the next set of events that occur after profile timelineB until the user see the input text is now in the wrong field. Did this work before? N/A Chrome version: 69.0.3497.100 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Please advise if there is any more troubleshooting I should do or provide. I can reproduce this with a bit of work.
,
Oct 4
I have created a screen capture video of this (12 seconds long). Since it does not always occur but occurs sometimes you will see multiple attempts. Attempt 1: user types "we" then using the keyboard arrow keys selects "Power System Safety" and presses the tab key, the text is placed in the correct field and the user is tabbed to the next field Attempt 2: user types "we" then using the keyboard arrow keys selects "Power System Safety" and presses the tab key, the text is placed in the correct field and the user is tabbed to the next field Attempt 3: user types "we" then using the keyboard arrow keys selects "West LA" and presses the tab key, the text is placed in the WRONG field, the "we" remains and the user is tabbed to the next field with selected text now in the wrong field. Video Attached. This is driving my users mad.
,
Oct 8
mattemerson2@ Thanks for the issue. Request you to provide a sample Html file where this issue can be reproduced, which will help in further triaging. Also unable to view the recording attached in comment #2. Request you to upload the screen cast again which will help in better understanding of the issue. Thanks..
,
Nov 16
*** UI Mass Triage*** We were unable to reproduce this bug. If this bug still reproduces for you, please reopen or file a new issue. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by viswa.karala@chromium.org
, Sep 28