New issue
Advanced search Search tips

Issue 829370 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 798535
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



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 description

UserAgent: 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:
 
Labels: Needs-Triage-M65

Comment 2 by kojii@chromium.org, Apr 9 2018

Components: -Blink Blink>Input
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?

Comment 3 by kojii@chromium.org, Apr 9 2018

Cc: kojii@chromium.org
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.
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.

Comment 6 by kojii@chromium.org, Apr 9 2018

Cc: -kojii@chromium.org
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.
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET Needs-Feedback
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!
829370.mp4
1.1 MB View Download

Comment 8 by bokan@chromium.org, Apr 13 2018

Mergedinto: 798535
Status: Duplicate (was: Unconfirmed)
This sounds very much like 798535.

Sign in to add a comment