- Issue created by @redeight
- Merge request !10Issue #3449491: ResponsiveMenus sometimes adds multiple click handlers to the toggle and accordion controls breaking them β (Open) created by redeight
I am experiencing a similar problem. The responsive menu doesn't open clicking the Hamburger toggle. I am not sure if it is the same cause though.
This is my site: https://www.pflanzini.de/
Can you check if this is related?- πΊπΈUnited States redeight
janc48, I'm not able to replicate it myself since I can't see a responsive menu on your site. The way I found the issue was to watch the classes on the menu via your browser's inspector when clicking the toggle. If you see a flash of change when the class gets added then immediately removed, it is likely due to this issue. You can also try applying the patch or checking out the merge request branch (whichever is easier for you) and seeing if that fixes it.
I can finally confirm that I am having the same issue. I solved it with
unbind()
before attaching the handler, butonce
gives the same result I guess. The true fix would be to find out why the script is called multiple times though.- πΊπΈUnited States redeight
My assumption is that the multiple applies is probably due to BigPipe and how that loads the site elements.