Skip to content

Commit

Permalink
Fix #10100: Tooltip should start its zIndex higher than default compo…
Browse files Browse the repository at this point in the history
…nents (#10117)
  • Loading branch information
melloware committed May 12, 2023
1 parent 16aead8 commit 039d01b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -320,10 +320,12 @@ PrimeFaces.widget.Tooltip = PrimeFaces.widget.BaseWidget.extend({
*/
align: function() {
var $this = this;
// #10100 make sure z-Index is above any dynamically changing zindex like dialogs.
var zIndex = (PrimeFaces.nextZindex() + 1000);
this.jq.css({
left: '',
top: '',
'z-index': PrimeFaces.nextZindex()
'z-index': zIndex
});

if (this.cfg.trackMouse && this.mouseEvent) {
Expand Down

0 comments on commit 039d01b

Please sign in to comment.