[Media Controls] Fix volume slider jumping back and forth
This issue is cause by an empty space between volume slider and the container. When user hover on mute button in a small video/audio frame, the volume slider shoot out towards right, which makes the mouse ended up in the empty space which will close the volume slider. Fixed by adding a container class around mute button and volume slider and close the volume slider only if user is not hovered on the container rather than mute button/volume slider. Bug: 921918 Change-Id: Ida2d943104fca3ab74290e58674856ada25555d5 Reviewed-on: https://chromium-review.googlesource.com/c/1413395 Commit-Queue: Jazz Xu <jazzhsu@chromium.org> Reviewed-by:Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#629758}
Showing
Please register or sign in to comment