Clear ZIndex on tooltip element instead of target element (#2650)
parent
7d386882dc
commit
dcd119b67e
|
@ -83,9 +83,12 @@ function show(el) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function hide(el) {
|
function hide(el) {
|
||||||
|
const tooltipElement = getTooltipElement(el);
|
||||||
remove(el);
|
remove(el);
|
||||||
unbindScrollListener(el);
|
unbindScrollListener(el);
|
||||||
ZIndexUtils.clear(el);
|
if (tooltipElement) {
|
||||||
|
ZIndexUtils.clear(tooltipElement);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTooltipElement(el) {
|
function getTooltipElement(el) {
|
||||||
|
|
Loading…
Reference in New Issue