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

e.stopPropagation() for focus synth not behaving like other events for multiple delegates #1145

lsmith opened this Issue Aug 31, 2013 · 0 comments


None yet
1 participant
Copy link

lsmith commented Aug 31, 2013

When there are focus delegates matching the same node, but subscribed from different containers, and the inner container's delegate callback calls e.stopPropagation(), the outer container's delegate callback is also being called. Maybe easier to understand in code:

I will issue a pull request for this momentarily.

lsmith added a commit to lsmith/yui3 that referenced this issue Aug 31, 2013

Fixes yui#1145. e.stopProp() edge case for focus
Multiple delegates for the same node were getting notified when e.stopProp()
was called, even though they were delegating from different containers. This
would be fine (delegate pretends to be individual direct subscriptions) if it
weren't inconsistent with how other events work in that scenario.

@lsmith lsmith closed this Sep 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment