Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Address Suggest flows below autocomplete dropdown #76

Open
NickdeK opened this issue Dec 3, 2018 · 2 comments
Open

Google Address Suggest flows below autocomplete dropdown #76

NickdeK opened this issue Dec 3, 2018 · 2 comments

Comments

@NickdeK
Copy link

NickdeK commented Dec 3, 2018

You can't use the Google Address Suggest option in combination with the browser autocomplete function. The browser autocomplete function overlaps the Google Address Suggest dropdown.

See for example: http://cloud.h-o.nl/92a13b

@Amadeco
Copy link

Amadeco commented Dec 3, 2018

https://github.com/danslo/CleanCheckoutAutocomplete/blob/e41401eef4ee997f588383a0b7186e054ab07911/src/view/frontend/web/js/view/autocomplete.js#L104

    fillAddressFields: function () {
        var place = this.getPlace();
        if (typeof place === 'undefined') {
            return;
        }
        this.c.fillStreetFields(this.e, place);
        this.c.fillOtherFields(this.e, place);
    },

seems a good idea to have something to disable the native autocomplete form in js directly :

$(this.e).attr('autocomplete', 'off');

@NickdeK
Copy link
Author

NickdeK commented Dec 4, 2018

@mageho I looks like there are some problems with this concerning browser support: https://stackoverflow.com/questions/29931712/chrome-autofill-covers-autocomplete-for-google-maps-api-v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants