player icon indicating copy to clipboard operation
player copied to clipboard

When setting hideOnMouseLeave to true, controls are not displayed anymore when moving the mouse in the paused player

Open akkie opened this issue 1 year ago • 0 comments

Current Behavior:

If I set hideOnMouseLeave = true then the controls are hidden when the mouse leaves the player. When I re-enter the player, the controls are shown, but if they are hidden by `hideDelay', they are not shown anymore when I move the mouse inside the player. The controls are only shown again when I leave the player and re-enter it. But then the same thing happens when I move the mouse inside the player. This behaviour only occurs when the player is paused. If it plays the video, then all works as expected.

Expected Behavior:

The controls should show up when I set hideOnMouseLeave = true and move the mouse inside the player after re-entering.

Steps To Reproduce:

Steps to reproduce the behavior:

  1. Set hideOnMouseLeave = true
  2. Press pause
  3. Leave the player
  4. Enter the player
  5. Wait till the controls are hidden
  6. Move the mouse
  7. The controls are not displayed

Reproduction Link

Environment:

  • Device: Mac M1
  • OS: macOS 15.2
  • Browser: Chrome 131.0.6778.205, Firefox 133.0.3

akkie avatar Jan 02 '25 21:01 akkie