Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-toggle-trigger-off elements do not unbind #122

Open
SuiteMel opened this issue Jan 4, 2023 · 1 comment
Open

data-toggle-trigger-off elements do not unbind #122

SuiteMel opened this issue Jan 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@SuiteMel
Copy link

SuiteMel commented Jan 4, 2023

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
@Twikito
Copy link
Owner

Twikito commented Jan 6, 2023

Hi @SuiteMel.

Ok, I see. Have to fix that.

@Twikito Twikito added the bug Something isn't working label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants