You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Control Panel when viewing media for a publication, in some cases you can have multiple image/video tiles displaying the hover effect.
Reproduction steps
Go to Publication
Move cursor rapidly over the window
Expected behavior
Only 1 can ever have the hover effect. Ideally when the cursor leaves the window all disappear.
Additional context
I think we can achieve this by adding the mouse position handlers to the window or page, rather than each individual item, and then passing the positions down to each tile. Then the components themselves can check if they are within those coordinates.
The text was updated successfully, but these errors were encountered:
Packages & versions
Media 0.7.0
Describe the bug
On the Control Panel when viewing media for a publication, in some cases you can have multiple image/video tiles displaying the hover effect.
Reproduction steps
Expected behavior
Only 1 can ever have the hover effect. Ideally when the cursor leaves the window all disappear.
Additional context
I think we can achieve this by adding the mouse position handlers to the window or page, rather than each individual item, and then passing the positions down to each tile. Then the components themselves can check if they are within those coordinates.
The text was updated successfully, but these errors were encountered: