You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with the Tree component's selection highlighting in PrimeVue. When using the lazy loading example provided in the documentation and adding single selection mode, the visual highlighting of the selected node is not working as expected.
Steps to Reproduce:
Start with the lazy loading example from the PrimeVue documentation for the Tree component.
Add the following props to the Tree component:
v-model:selectionKeys="selectedNodeKey"
selectionMode="single"
Add a selectedNodeKey ref in the script section:
const selectedNodeKey = ref(null);
Run the example in the example sandbox environment for Lazy and just modify it.
Expected Behavior:
When a node is selected, it should be visually highlighted to indicate the selection, similar to the behavior shown in the basic single selection example in the PrimeVue documentation.
Actual Behavior:
The selected node is not visually highlighted, even though the selectedNodeKey is being updated correctly.
Any insights or suggestions for resolving this issue would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've encountered an issue with the Tree component's selection highlighting in PrimeVue. When using the lazy loading example provided in the documentation and adding single selection mode, the visual highlighting of the selected node is not working as expected.
Steps to Reproduce:
Start with the lazy loading example from the PrimeVue documentation for the Tree component.
Add the following props to the Tree component:
v-model:selectionKeys="selectedNodeKey"
selectionMode="single"
Add a selectedNodeKey ref in the script section:
const selectedNodeKey = ref(null);
Run the example in the example sandbox environment for Lazy and just modify it.
Expected Behavior:
When a node is selected, it should be visually highlighted to indicate the selection, similar to the behavior shown in the basic single selection example in the PrimeVue documentation.
Actual Behavior:
The selected node is not visually highlighted, even though the selectedNodeKey is being updated correctly.
Any insights or suggestions for resolving this issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions