primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-tree: Node which is not selectable shouldn't have focus

Open AlbaSS18 opened this issue 1 year ago • 0 comments

Describe the bug

I am working with PrimeNG and Angular. I am using the p-tree component and I have marked as non-selectable the parent nodes. I think that if they are not selectable, they shouldn't have the focus like it is happening.

For example: image

Environment

Ubuntu

Reproducer

No response

Angular version

16.2.12

PrimeNG version

16.4.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16

Browser(s)

Firefox 122

Steps to reproduce the behavior

No response

Expected behavior

The node marked as non-selectable, it shouldn't have the focus

AlbaSS18 avatar Feb 15 '24 14:02 AlbaSS18