Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Listen DOM events in each React container
Current React implementation is attaching events to `document` level. This is breaking bubbling DOM behaviour not letting users to play properly with methods like `stopPropagation`. Also attaching events to containers instead of `document` integrates better with other Javascript frameworks. With this change we start attaching events at container level. Fixes: facebook#2043 facebook#4335
- Loading branch information