react-dd-menu
react-dd-menu copied to clipboard
onClick event not triggered
Hi,
I try to use an onClick event for the menu items in my menu, but none of these events ever get fired (console.log('You clicked an item');)
I tried the exact same code from the example at https://github.com/mlaursen/react-dd-menu but without luck. Any idea why these events are not triggered? Thanks in advance!
@emwee A reproducible codepen would be useful for debugging this
I suppose so indeed, but in the meantime I switched to 'react-aria-menubutton', so no longer an issue for me personally.