Fix shadow DOM: Change target for event#2097
Fix shadow DOM: Change target for event#2097AlyonaCh wants to merge 1 commit intodimsemenov:masterfrom
Conversation
|
I'll look into it, this may potentially cause the event to not fire in older mobile browsers. If you have a test case with the Shadow DOM (from #2096) - please provide a link or source. |
|
The issue with your solution is that if a pointer is released outside of the document - the pointerup/cancel event is not fired. This can be solved via A similar thing happens if legacy mouse and touch events are used ( A possible solution might be to listen for I'm not sure yet what's the best approach to solve this yet, just posting the findings. |
|
I made a demo repo reproducing the problem: https://github.com/AlyonaCh/ShadowDOMExample |
Fix #2096 . I changed target for event. It works for me.