easy-toggle-state
easy-toggle-state copied to clipboard
data-toggle-trigger-off elements do not unbind
Describe the bug Having created a mobile menu toggle with the unbind action being called from mobile to desktop. I noticed that if an element has data-toggle-trigger-off it does not unbind with the rest of the unbound elements
To Reproduce https://codepen.io/suitemel/pen/xxJEWwK Here is a codepen with the issue reproduced
Expected behavior I expect the data-toggle-trigger-off elements to be unbound as well
Desktop (please complete the following information):
- OS: macOS Big Sur v 11.7.1
- Browser: Chrome
- Version 108.0.5359.124