Skip to content

Safari - iOS: When selecting the autocomplete address, it is not selected #119

@lucasvargasmodaklive

Description

@lucasvargasmodaklive

We have implemented the autocompletion of google places in an input, and it happens to us that on iPhone, when entering an address, the autocompletion is shown, but if any of the options is selected, it is as if you had not clicked it, and you have to be insistent Let's say touch the option like more than 3 times for it to be taken.
This does not happen on other devices.

Any solution? This only happens in iOS - Safari

This is the code html

<div class="input-container" >
        <span class="p-float-label" #container>
            <input
                #search
                [(ngModel)]="addressFormatted"
                ngx-google-places-autocomplete
                (onAddressChange)="handleAddressChange($event)"
                type="text"
                pInputText
                id="addressLineInput" 
                class="input-element"
                [options]="options"
            >
            <label class="label-text" for="addressLineSearchInput">Search your address</label>
        </span>
    </div>

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions