Closing Tooltip when a new one is opened

jQuery UI Widgets
Post Reply
hammos
Posts: 1
Joined: 07 Sep 2017, 11:40

09 Oct 2017, 14:23

Hi,
I am looking for a possibilty to make a tooltip close automatically when a new one is opened. I am using Primefaces 6.1.

Code: Select all

    <p:tooltip for="clientName" showEffect="clip" hideEvent="dblclick" 
     position="bottom">
At the moment it works like this: Mouseover on a label from my datatable and the tooltip opens. When I double click on the label which opened it, the tooltip disappears. But the problem is that I can accidently open like 30 tooltips at the time, just by moving over the entrys of the "Name"-Column from my datatable.

Short: I only want a single tooltip to be opened at the time. But I dont want the tooltip to close by an MouseLeave event.

Im happy for any suggestions. Thanks.

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests