Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip: disable autoHide doesn't with positionLeft property #14714

Closed
AMZALE opened this issue Feb 5, 2024 · 4 comments
Closed

Tooltip: disable autoHide doesn't with positionLeft property #14714

AMZALE opened this issue Feb 5, 2024 · 4 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@AMZALE
Copy link

AMZALE commented Feb 5, 2024

Describe the bug

Tooltip: disable autoHide doesn't work with positionLeft property
https://stackblitz.com/edit/wszuks?file=src%2Fapp%2Fdemo%2Ftooltip-auto-hide-demo.html

Environment

Angular project

Reproducer

https://stackblitz.com/edit/wszuks?file=src%2Fapp%2Fdemo%2Ftooltip-auto-hide-demo.html

Angular version

16

PrimeNG version

16.9.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.18

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@AMZALE AMZALE added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 5, 2024
@Cr3aHal0
Copy link
Contributor

Cr3aHal0 commented Feb 7, 2024

Hi,

A word from PrimeNG team here is necessary IMO as autoHide:false only prevent tooltip deactivation when the cursor immediately leave the bound field or element to the tooltip container (since by default the arrow/tooltip is stuck to the bound element). Is it okay for this feature to still work even if there is a 100px gap between the two ?

@AMZALE
Copy link
Author

AMZALE commented Feb 7, 2024

good point. But what about tooltip with some action btns? For example I am going to add a button to the tooltip

@Cr3aHal0
Copy link
Contributor

Cr3aHal0 commented Feb 7, 2024

If you need to put some dynamic content like component, either stick your tooltip to your target or maybe OverlayPanel is more what you need rather than Tooltip. Also not sure if a button inside a tooltip is a good pattern/user experience (but who am i to judge)

@cetincakiroglu cetincakiroglu added this to the 17.Future milestone Feb 12, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 12, 2024
@mehmetcetin01140
Copy link
Contributor

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

@github-project-automation github-project-automation bot moved this to Done in PrimeNG Dec 16, 2024
@mehmetcetin01140 mehmetcetin01140 removed this from the 19.x milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

No branches or pull requests

4 participants