Make pTooltip work for mobile devices

UI Components for Angular
Post Reply
mangerm
Posts: 8
Joined: 25 Jun 2020, 09:05

16 Oct 2020, 08:49

How can I make pTooltip work for mobile devices which don't support the hover event?
If it's a tooltip in an input field I can change the trigger event to focus, but what about tooltips which are not embedded in form controls?

NgPrime_User
Posts: 2
Joined: 26 Aug 2021, 08:07

31 Aug 2021, 14:14

Did you find a solution for this?

youngnacs
Posts: 1
Joined: 30 Aug 2022, 19:51

30 Aug 2022, 19:53

In the version of V12-LTS, this version doe snot support mobile mode for pTooltip.
any solution?

TheBlechMan
Posts: 1
Joined: 09 Nov 2022, 12:18

09 Nov 2022, 12:21

You could simply use the toottipEvent="focus".
Then the msg shows when you have have the input field selected.

<input pTooltip="I' working on mobile!" tooltipEvent="focus" />

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests