I'm trying to attach AIR native menu to my HTML code. It works ok, but there is some problems when I click on image (I mean html-tag "img") or textarea item,
After native AIR menu is shown any option is selected and native menu is hidden AIR shows another context menu sggesting me to copy an image to clipboard (if I clicked on image) or to copy/paste, change fonts or text direction (for textarea). event.preventDefault() doesn't help.
Could you help me to solve this problem please?
thanks, this helped. I used "mousedown" event instead of "contextmenu" event.