humaan / Modaal

An accessible dialog window library for all humans.
http://humaan.com/modaal/
MIT License
2.72k stars 183 forks source link

Removing modal from dom removes all instances #102

Closed jamilalisgandarov closed 5 years ago

jamilalisgandarov commented 6 years ago

I am using selectize.js inside modal and initialize it inside modal. After closing modal just because all elements removed instance of selectize also is removed. So it s not working.

https://selectize.github.io/selectize.js/

danhumaan commented 6 years ago

Hi @jamilalisgandarov can you please provide an example of the issue you're having so we can help debug it? I believe I understand, but your exact setup might be different to my own approach. Once you're able to provide some more context, and code examples, we might be able to help you figure out a solution if you haven't already found one (If so, please close this).

danhumaan commented 5 years ago

Closing this due to age, and lack of context and examples to the issue.