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.
I noticed that when I have multiple instances of selectr on my page, I can have all of them open at the same time.
From what I gather this - imho unintended - behaviour is caused by these lines of code:
The call to e.stopPropagation() prevents other instances (or in fact any other element on the page) from reacting to the click event.
As far as I could see there is not really a reason for the stopPropagation, at least removing it did not lead to any strange behaviour in my app.
The text was updated successfully, but these errors were encountered:
I noticed that when I have multiple instances of selectr on my page, I can have all of them open at the same time.
From what I gather this - imho unintended - behaviour is caused by these lines of code:
The call to
e.stopPropagation()
prevents other instances (or in fact any other element on the page) from reacting to the click event.As far as I could see there is not really a reason for the
stopPropagation
, at least removing it did not lead to any strange behaviour in my app.The text was updated successfully, but these errors were encountered: