-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behavior event handlers shouldn't be called if event.stopImmediatePropagation() is called #63
Comments
The way we specified to do this is to call |
Do we guarantee that when (module => behavior A => behavior B) that event.stopImmediatePropagation() called in module stops Behavior A & B and a event.stopImmediatePropagation() in Behavior A only stops only B? Also, is there a way to detect if an event is stopped without using jQuery? I don't see anything in the Event spec. |
If we start by implementing #47, we could use that internally to setup event handlers. Then, the browser would handle |
Hi there
I think when event handler in module return false, event handlers in behaviors must not be called.
propose change in bindEventType function for simulate bubbling between module and behaviors:
The text was updated successfully, but these errors were encountered: