Skip to content

Issue if an extension add an element between field and dropdownmenu #31

@hguenot

Description

@hguenot

Helllo

I have an extension (F-Secure) that sometimes add an element between the field and the dropdown after Autocomplete initialization.
image

Every time, in the code, this.field.nextSibling is used to get the drop down menu, it fails because it references this extension element... and the dropdown menu display is broken
image

To fix this issue I opened a pull request (#30).
I just add a property to save the dropdown element in the Autocomplete class and used it instead of this.field.nextSibling

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