Tooltip partially rendering outside of viewport

UI Components for Vue
Post Reply
franndotexe
Posts: 1
Joined: 28 Mar 2023, 18:40

28 Mar 2023, 18:45

Hello,

It seems like the Tooltip directive doesn't adjust the position of a tooltip even if it would be outside the viewport. Is this expected?

Example:
https://stackblitz.com/edit/angular-tvgmmh

Looking at the source I see an align function called in the show function that would appear to handle this?

https://github.com/primefaces/primevue/ ... ip.js#L155

Thanks for your time,
Jordan

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

14 Apr 2023, 00:47

Hi,
A calculation is required for this case. The code you shared does not cover this situation. We can think of it as a new feature. Thank you for sharing

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests