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

Nice select dropdown not working with "e.stopPropagation();" #98

Open
tijosfx opened this issue Apr 22, 2020 · 1 comment
Open

Nice select dropdown not working with "e.stopPropagation();" #98

tijosfx opened this issue Apr 22, 2020 · 1 comment

Comments

@tijosfx
Copy link

tijosfx commented Apr 22, 2020

Hi all,
Nice select dropdown not working with "e.stopPropagation();" can you please help with this?
See demo: https://codepen.io/tijosfx/pen/zYvogXJ

Thanks

@weidmaster
Copy link

I have a similar issue. In my application I open a form in a modal (using bootstrap) and when the form is submitted using ajax and the modal closes, the nice select stops working.

I tried to destroy and recreate the select, update the select but nothing works.

What is interesting is that other evens, like the ajax reload of a Datatable, does work as intended after the modal closes. I guess it has to do with the stopPropagation()as well, because if I just open the modal but closes it without submitting the form, nice select still works.

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