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

Dropdown is closing immediately when used inside Shadow DOM #3031

Open
Nicolai8 opened this issue Oct 23, 2018 · 0 comments
Open

Dropdown is closing immediately when used inside Shadow DOM #3031

Nicolai8 opened this issue Oct 23, 2018 · 0 comments

Comments

@Nicolai8
Copy link

Hello.

I'm having an issue with chosen select used inside custom element (shadow DOM). When I click on input it should show the list but instead it's immediately closing list after showing it.

Steps to reproduce

  1. create ES6 class and extend HTMLElement

  2. create shadow and add select inside of it

  3. apply chosen to that select

Codepen example

Expected behavior

List should be shown on input click

Actual behavior

List is shown for a second and then dissapears

Environment

Firefox 62.0.3 - 63.0,
Chrome 69.0.3497.100,
Windows 8.1 64Bit

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

1 participant