Since the version change from primefaces 12.0.0 JSF to primefaces 13.0.0 I have detected an anomalous behavior of the Tooltip component using it as global for many page elements:
- Sometimes it is displayed below other elements as if the Z-index is not appropriate.
- The position in some elements is not correct, it is located a little below or a little to the right.
- Sometimes the tooltip displayed does not correspond to the element on which the hover is made.
- Very often (and gives bad user experience), the tooltip is not hidden. Sometimes you hover over elements where the pointer does not stop but after X milliseconds (as configured), the tooltip is displayed. As you are no longer in the element, the OUT event is not executed and the tooltip does not disappear.
Is there any change in the component ? Is there any way to avoid or solve these problems without going back to version 12.0.0.0 of the components ?
Code: Select all
<script type="text/javascript">
// <![CDATA[
function tooltipBeforeShow() {
return !($('#canvas_overlay').hasClass('show-overlay'));
}
function tooltipHide() {
}
// ]]>
</script>
<p:tooltip globalSelector=".conTooltip" autoHide="true" escape="false" hideDelay="0" showDelay="250" trackMouse="false" beforeShow="tooltipBeforeShow()" onHide="tooltipHide();" />
Thank you very much