Skip to content

Dragging the leetcode resize bar delays the iframe pointer event by 1 second #16

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

Closed
zubyj opened this issue Apr 13, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@zubyj
Copy link
Owner

zubyj commented Apr 13, 2023

If you drag the bar in the center of a leetcode problem and dont hover the iframe.
When you let it go, and try to play the video within 1 second it doesnt work.

The issue might be that when the mousedown event is triggered, the pointer-events style of the iframe element is set to none, which means that the iframe will not receive mouse events until it's set back to auto. This is causing a delay when you click on the iframe element after the mouseup event.

@zubyj zubyj added invalid This doesn't seem right not that srs It should be fixed but its not a priority bug Something isn't working and removed invalid This doesn't seem right not that srs It should be fixed but its not a priority labels Apr 15, 2023
@zubyj zubyj closed this as completed Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant