Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72502

Stop Chrome Autocomplete Dropdown Taking Focus

$
0
0

Is it possible to stop the Chrome autocomplete suggestions dropdown taking focus?

I have an input box within an overlay, and the overlay closes if an element outside of the overlay receives focus.

Hence if a user uses autocomplete to fill out this input box, the overlay closes before the overlay can fire an event.

Any suggestions? Thanks. enter image description here

Just to clarify - using autocomplete: off will solve my problem. But I was hoping to keep autocomplete working as a feature, and just remove the focus.


Viewing all articles
Browse latest Browse all 72502

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>