primeng icon indicating copy to clipboard operation
primeng copied to clipboard

SpeedDial items visible even if MenuItem object property "visible" is false

Open crega opened this issue 5 years ago • 0 comments

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.

https://stackblitz.com/edit/github-my5g8z?devtoolsheight=33&file=src/app/app.component.ts

Current behavior

When I provide model to SpeedDial of typeMenuItem[] and set visible of some element in that array to false. Speed dial overlay button is still present, disabling/enabling works as expected Expected behavior

When I provide model to SpeedDial of typeMenuItem[] and set visible of some element in that array to false. Speed dial overlay button should not be visible Minimal reproduction of the problem with instructions

See stackblitz URL ( dont know why cannot demonstrate , it says Error: Template parse errors: Can't bind to 'routerLinkActiveOptions' since it isn't a known property of 'a'. even I have imported RouterModule

What is the motivation / use case for changing the behavior? Fixing bug

Please tell us about your environment: ASP.NET WebAPI on backend, Windows Server (IIS)

  • Angular version: 12.0.1

  • PrimeNG version: 12.1.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

all

  • Language: [all]

crega avatar Nov 10 '21 11:11 crega