Event.stop() doesn't work, if handler was delegated, not added directly to element.
var handler = function(e){
e.stop();
}
// event bubbling will be stopped:
bean.add(el, 'click', handler);
// event bubbling will NOT be stopped here:
bean.add(el, '.someclass sometag', 'click', handler);
I'm using bean without ender.js
e.stopPropagation() and e.preventDefault() don't work as well.
Event.stop() doesn't work, if handler was delegated, not added directly to element.
I'm using bean without ender.js
e.stopPropagation() and e.preventDefault() don't work as well.