p-tree: Node which is not selectable shouldn't have focus #14822
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
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:
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
The text was updated successfully, but these errors were encountered: