Newer Chrome versions ignore autocomplete=off
downshiftversion: 6.0.5nodeversion: 12.18.4npmversion: 6.14.6
Relevant code or config
See code for example here: https://www.downshift-js.com/use-multiple-selection.
What you did:
Click into the combobox of a multiselect combobox as the one here: https://www.downshift-js.com/use-multiple-selection.
What happened:
The native Chrome autofill menu appears above our custom downshift combobox menu.

Reproduction repository:
I couldn't reproduce it on https://www.downshift-js.com/use-multiple-selection yet, maybe I would need to submit a form with some value so Chrome stores it in its autofill cache.
Problem description:
Chrome chose to ignore autocomplete="off": https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164
Suggested solution:
According to the Chrome issue comment, a custom value should be used, e.g. autocomplete="my-custom-field-type".
Not sure about cross-browser compatibility though.
That thread is from 2016 🧐
Interesting, we just started noticing it recently. Maybe the issue existed previosly too, but we didn‘t run into a case that persisted the address to the chrome autofill cache.
Hey! we are also experiencing this. I've tried to override the downshift autocomplete by ...getInputProps({ autocomplete: "nope" }) but didn't succeed. Any ideas on this?
You can override by adding props after the getInputCall, but your example should work as well. Can you check the code and see if there is a bug?
On Tue, 2 Nov 2021 at 10:52, Marçal @.***> wrote:
Hey! we are also experiencing this. I've tried to override the downshift autocomplete by ...getInputProps({ autocomplete: "nope" }) but didn't succeed. Any ideas on this?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/downshift-js/downshift/issues/1189#issuecomment-957327800, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWAZAHU4ZFJ2LXAMH7YREDUJ67FRANCNFSM4S2775NA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.