primeng icon indicating copy to clipboard operation
primeng copied to clipboard

TieredMenu:Tooltip property does not work on MenuItem

Open SaulFein opened this issue 9 months ago • 1 comments

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 avatar May 10 '24 22:05 SaulFein

You can also provide like this:

tooltipOptions: { tooltipLabel: 'SaulFein' }

Sinan997 avatar May 17 '24 10:05 Sinan997