Textfield doesn't get focus with touchevent
Reported by
tim....@gmail.com,
Dec 12 2016
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Example URL: https://demo.gynzy.net/en/glassplate Steps to reproduce the problem: 1. Login at http://demo.gynzy.net/en 2. Go to https://demo.gynzy.net/en/glassplate 3. Make sure you have touch events enabled 4. Try to add a textfield by selecting the T button and clicking on the screen 5. the created textfield doesn't get the focus What is the expected behavior? the created textfield gets the focus succsfully What went wrong? the created textfield doesn't get the focus Does it occur on multiple sites: N/A Is it a problem with a plugin? Yes Pepperflash Did this work before? Yes < 53 Does this work in other browsers? Yes Chrome version: 55.0.2883.87 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 23.0 r0 See the video It happens right away when you haven't clicked with the mouse in the flash content. When clicked once the textfield keeps getting focus when using touch. When you click the address bar once and then try to focus using touch the textfield doesn't get the focus. We've tried different flash versions: - 23.0.0.7 - 24.0.0.186 We've tried different Chrome versions - Stable 55.0.2883.87 - Canary 57..2948.0
,
Dec 12 2016
We always set the stage.focus to the textfield. This happens when using touch but the keyboard events keep going to the address bar as can be seen in the video. Only when using the mouse the keyboard events go to the flash element.
,
Dec 12 2016
,
Dec 12 2016
For a simpler example page see this one: http://timwebdesign.nl/gynzy/keyboard-focus/ Here you can see the mouse and the touch in action with a simple example.
,
Dec 12 2016
Issue also exists in Windows 10
,
Dec 12 2016
,
Dec 14 2016
As per comment #1, issue is not present in less than M53 versions. Able to reproduce this on windows 10-dell touch screen laptop with chrome version #50.0.2657.0, please look into the attached screen-cast and let us know any steps i have missed while reproducing the scenario.
,
Dec 14 2016
This is indeed our problem. We've done some research ourselves and came to the conclusion that touch work if you touch a HTML element first before touching a flash element. This is impossible on the page you tried because it's all flash. It has something to do with the focus event of the object tag. I've monitored the events. Behaviour is also different when touching the edge of the object tag. We focus from Flash by executing Javascript using ExternalInterface. We just execute .focus on the flash object tag.
,
Dec 19 2016
Thanks for the update, removing bisect label as per above comment.! Thanks.!
,
Dec 26 2016
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 13 2017
Cleaning up "Needs-Review" label as we are not using this label for triage. Ref bug 684919
,
Mar 13 2017
,
Mar 15 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by tim....@gmail.com
, Dec 12 2016