Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mouse: Update elIsCancel to use composedPath instead of event.target
When using web-components with shadowRoot, the mouseDown event is triggered with the event.target pointing to the entire web component, not inner nodes that were clicked, thus to cancel the mouseDown based on inner-elements we have to use composedPath instead of event.target
- Loading branch information