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

TieredMenu:Tooltip property does not work on MenuItem #15536

Open
SaulFein opened this issue May 10, 2024 · 1 comment · May be fixed by #15598
Open

TieredMenu:Tooltip property does not work on MenuItem #15536

SaulFein opened this issue May 10, 2024 · 1 comment · May be fixed by #15598
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@SaulFein
Copy link

Describe the bug

When using a the TieredMenu and adding a tooltip to the menu items the tooltip does not show. If you use the tooltipOptions.tooltipLabel it works.

Environment

Production. Reproducable in stack blitz from the doc examples on PrimeNg documentation.

Reproducer

https://stackblitz.com/edit/gy48zd?file=src%2Fapp%2Ftiered-menu-basic-demo.ts

Angular version

17.3.7

PrimeNG version

17.6.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.13.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Add a tooltip property to a menu item.
  2. Hover over menu item

Expected behavior

I would expect to see the tool tip on hover.

I believe this should be an input in the code:
Screenshot 2024-05-10 at 3 22 34 PM

@SaulFein SaulFein added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 10, 2024
@Sinan997 Sinan997 linked a pull request May 16, 2024 that will close this issue
@Sinan997
Copy link

You can also provide like this:

tooltipOptions: { tooltipLabel: 'SaulFein' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants