Commit a335afd
authored
fix: Unregister event listener for simpleSelect (#88) 🐛
When using simpleSelect, and having multiple instances of the component on the same page, opening
dropdown content after selecting something in another dropdwon causes the previous dropdown to open
as well. This happens since andleOutsideClick is still listening for changes on the previous
instance.1 parent 334f8f9 commit a335afd
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
0 commit comments