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.
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.