-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
When this plugin is used within a React component, onClick events do not fire. Here is the line of code causing this problem:
this.$menuitems.on( 'click.dlmenu', function( event ) {
event.stopPropagation();
Source: https://github.com/codrops/ResponsiveMultiLevelMenu/blob/master/js/jquery.dlmenu.js#L123
I suggest that stopPropagation should only be called when a submenu parent node is clicked, but not when normal links are clicked, to improve compatibility with React and other frameworks.
Metadata
Metadata
Assignees
Labels
No labels