Skip to content

Commit

Permalink
fix(FEC-11542): tooltips in full screen don't pop out when hovering o…
Browse files Browse the repository at this point in the history
…ver it (#4250)

**the issue:**
when in fullscreen, tooltips of bottom bar buttons are not displayed.

**solution:**
increase z-index of tooltips to 9999, as player ins fullscreen is having z-index=9999.
also had to delay the focus of play/pause btn when entering fullscreen, to prevent from the tooltip to appear in a wrong place.

Solves FEC-11542
  • Loading branch information
lianbenjamin authored Nov 21, 2021
1 parent 4f8e6c8 commit 35c7ab8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion modules/KalturaSupport/components/playPauseBtn.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
});
this.bind('onOpenFullScreen', function () {
try {
_this.getComponent().focus();
setTimeout(function () {
_this.getComponent().focus();
}, 250);

} catch(e){}
});

Expand Down
2 changes: 1 addition & 1 deletion skins/kdark/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ body {
background: -ms-linear-gradient(top, #000000, #000000);
background: linear-gradient(top, #000000, #000000);

z-index: 1000;
z-index: 9999;
font-weight: bold;
font-size: 0.85em;
letter-spacing: 0px;
Expand Down

0 comments on commit 35c7ab8

Please sign in to comment.