Skip to content

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

Description

@SuiteMel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions