-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Mouseup events are duplicated in case preserveObjectStacking is ON #4296
Comments
i see the bug in findTarget. Video + controls are a group? |
There are 2 groups: So Play group is nested into 'main' group |
the 2 groups are grouped togheter? |
Yep, Main group, contains 'Play' group |
I can try to 'clean up' the fiddle. The issue can easily be debugged if you put breakpoint into 'mouseup' handler Surprisingly 'mousedown' seems to be not affected |
i found the problem, i just needed the situation to write a test so that
the bug can be catched in future
…On Sep 8, 2017 10:03 AM, "Maxim Solodovnik" ***@***.***> wrote:
I can try to 'clean up' the fiddle. The issue can easily be debugged if
you put breakpoint into 'mouseup' handler
Surprisingly 'mousedown' seems to be not affected
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4296 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABI4QPlr6IGstVfZjWP9JDrrqVMI_QwHks5sgPS4gaJpZM4PQube>
.
|
I'll try to simplify the fiddle and will let you know |
is ok i have the info i need. |
OK, Thanks! |
Well to be honest 100% i did not try the solution. but i m confident it works, the test pass. |
I have applied your patch locally, seems to work as expected |
Was able to build it :) |
Version
1.7.17
Test Case
https://jsfiddle.net/solomax666/r2nuv845/
Steps to reproduce
Expected Behavior
Video should pause
Actual Behavior
Video continue playing
With debugger I find out on mouseup is being called twice due to mouseup target gets duplicated. This is not the case when preserveObjectStacking is OFF (line 2 of fiddle is commented out)
The text was updated successfully, but these errors were encountered: