First of all great script. Thank you for all contributed.
Is there any way to prevent default action or event propagation on selected elements? On react application, when I click on button element select event works fine but also triggers the click event on the element. I tried to add `preventDefault' but didn't seem to work. also tried
onSelect={e => {
console.log(e);
e.inputEvent.preventDefault();
e.inputEvent.stopPropagation();
e.inputEvent.stopImmediatePropagation();
}}
but that also doesn't seem to have any affect either. Button or link still receives click event and triggers handler.
First of all great script. Thank you for all contributed.
Is there any way to prevent default action or event propagation on selected elements? On react application, when I click on button element select event works fine but also triggers the click event on the element. I tried to add `preventDefault' but didn't seem to work. also tried
but that also doesn't seem to have any affect either. Button or link still receives click event and triggers handler.