Issue metadata
Sign in to add a comment
|
Clicking within elements that appear only when a parent element is hovered randomly causes the hover to be removed
Reported by
jrap...@geekhive.com,
Apr 5 2018
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Example URL: https://jsfiddle.net/q6jw58fq/8/ Steps to reproduce the problem: 1. Visit the link: https://jsfiddle.net/q6jw58fq/8/ 2. Follow instructions- hover over second menu option to display the sub menu 3. randomly click on the submenu and it will close 4. Happens if you click fast or slow, it's entirely random What is the expected behavior? The sub menu should always stay open if my mouse is hovered over the element. Clicking should not affect hover state, yet it does. What went wrong? It's a Chrome bug- not sure. Randomly the click event tells the browser that you're not actually over the element- when in fact you are. I tried to add e.stopPropagation() with JS, but it still causes the behavior to occur. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 65.0.3325.181 Channel: stable OS Version: 10.0 Flash Version:
,
Apr 9 2018
I can't reproduce this on Mac, and don't have Windows right now. How many times do I need to click the submenu until you see it closed? Are you sure pointers did not go out of the <li> while you're clicking?
,
Apr 9 2018
,
Apr 9 2018
Yes, I am sure. The clicking is entirely random. Sometimes happens on the first click, sometimes the 20th click. We found this SO post that also points out the issue. https://stackoverflow.com/questions/47649442/click-event-affects-mouseenter-and-mouseleave-on-chrome-is-it-a-bug/47718062#47718062 The "fix" works as suggested and we're using as a work-around for now.
,
Apr 9 2018
Also- my Chrome has not updated, but I have not been able to reproduce today. However, another developer visited the same link in the ticket and took a video of the behavior: https://www.screencast.com/t/HVAp3vuECrR So it truly is very random.
,
Apr 9 2018
Thank you for the video, it helps. I'll pass this to our input experts, hopefully they can have better insights for how to reproduce this.
,
Apr 12 2018
Unable to reproduce the issue on reported chrome version 65.0.3325.181 using Windows 10 with the below mentioned steps. 1. Launched Chrome 2. Navigated to https://jsfiddle.net/q6jw58fq/8/ 3. Hovered on "top item 2" clicked multiple times on the sub menu. We didn't observe it closing. Attaching the screen cast of the same. @Reporter: Could you please have a look at the screen cast and let us know if we missed anything in the process. Thanks!
,
Apr 13 2018
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Apr 5 2018