8000 Custom container order in DOM is lost - appended to parent element (or body) · Issue #117 · denis-taran/autocomplete · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Custom container order in DOM is lost - appended to parent element (or body) #117
Open
@matthew-darby

Description

@matthew-darby

I thought this might be useful to mention in the documentation somewhere.

Example:

https://jsbin.com/hekitufave/1/edit?html,js,output

A solution is to wrap the input and container in an element:

<div>
  <input id="country" type="email" />
  <div id="container"></div>
</div>

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

      0