react-dd-menu icon indicating copy to clipboard operation
react-dd-menu copied to clipboard

onClick event not triggered

Open emwee opened this issue 8 years ago • 2 comments

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 avatar Aug 02 '17 15:08 emwee

@emwee A reproducible codepen would be useful for debugging this

Redmega avatar Aug 15 '17 15:08 Redmega

I suppose so indeed, but in the meantime I switched to 'react-aria-menubutton', so no longer an issue for me personally.

emwee avatar Aug 15 '17 15:08 emwee