You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
When instantiating an instance of new Selectr(element) with the same element multiple times, Selectr generates new HTML markup resulting in duplicating drop downs.
Unexpected result:
This was first noticed when using Turbolinks while navigating the website forward, then back.
* I understand that at this time, the project is not being maintained. Hopefully this project will see a new maintainer soon since Selectr has been a great simple way to apply a better select element.
The text was updated successfully, but these errors were encountered:
I've worked around this problem by detecting the classes on the underlying element, and not making the Selectr call if it doesn't exist. Suboptimal, yes, but it works.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When instantiating an instance of
new Selectr(element)
with the same element multiple times, Selectr generates new HTML markup resulting in duplicating drop downs.Unexpected result:
This was first noticed when using Turbolinks while navigating the website forward, then back.
* I understand that at this time, the project is not being maintained. Hopefully this project will see a new maintainer soon since
Selectr
has been a great simple way to apply a better select element.The text was updated successfully, but these errors were encountered: