Dragging the leetcode resize bar delays the iframe pointer event by 1 second
zubyj opened this issue · 0 comments
zubyj commented
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.