bp2008 / ui3

A powerful, modern HTML5 web interface for Blue Iris.
GNU Lesser General Public License v3.0
120 stars 18 forks source link

Playback controls click-through bug #122

Closed bp2008 closed 1 year ago

bp2008 commented 1 year ago

Noticed in Chrome on 2022-10-12.

Timeline tab, reviewing timeline video for a single camera.

Clicks can appear to click-through the play/pause button such that the click both pauses the video and exits single-camera view.

Problem happens when the viewport is just narrow enough to cause the playback controls to rewrap between 1 and 2 lines when the timestamp text changes.

I suspect that clicking play/pause causes the playback controls to shrink from 2 lines to 1 line such that the play button moves out from under the mouse pointer and this causes the click event to bubble to the video player where it causes undesired behavior.

bp2008 commented 1 year ago

Fixed in https://github.com/bp2008/ui3/commit/6ccdeae1ff8b53ebb0ad4eb4766a289edb334ad4