New issue
Advanced search Search tips

Issue 834506 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

The native browser autofill feature triggers the document's 'mouseleave' event

Reported by ardeth...@gmail.com, Apr 18 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

Steps to reproduce the problem:
1. Create an input element with a common 'name' attribute (to make sure the autofill pops up)
2. Add a 'mouseleave' event listener to the document
3. Trigger the autocomplete and try selecting it with your mouse (selecting using the keyboard seems to work just fine)

What is the expected behavior?
You're able to select an option from the Autofill without triggering any common events, unless specified

What went wrong?
The document's 'mouseleave' event triggers when trying to select an option from the autofill

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3325.181  Channel: stable
OS Version: 10.0
Flash Version: 

A live jsfiddle version is located here - https://jsfiddle.net/ds9ns7cp/2/
 
index.html
414 bytes View Download

Comment 1 by ardeth...@gmail.com, Apr 18 2018

Also happens with inputs wrapped by a <form> element (Not surprising but worth mentioning) - https://jsfiddle.net/bfhg5egL/
index.html
490 bytes View Download
Labels: Needs-Triage-M65
Cc: susan.boorgula@chromium.org
Labels: M-68 Triaged-ET FoundIn-68 Target-68 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
ardethian@ Thanks for the issue.

Able to reproduce the issue on Mac OS 10.13.3, Windows 10 and Ubuntu 14.04 and on the latest Canary 68.0.3400.0 and Stable 66.0.3359.117 by following the given steps above.

While trying to select the autofill value, can see the mouseleave event triggered by which we are unable to select the autofill option.
Attached is the screen cast for reference.

This is a Non-Regression issue as this behavior is observed from M60 Chrome builds. 
Hence marking this as Untriaged for further updates from Dev.

Thanks..
834506.webm
1.1 MB View Download
Components: -Blink>Input UI>Browser>Autofill
Status: Available (was: Untriaged)
I can also repro this issue.
Anyone from autofill can chime in here? I don't see anywhere in the input code in renderer that we do this effect. Is this behavior expected for the browser autofill?

Sign in to add a comment