TreeSelect: Panel closes, or selectedValue becomes null when watching a prop change and scrolling down #5669
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
In my code for the treeselect i am watching some prop changes that are being emitted to the parent component, however when i put the
selectValue
ref to null in the watcher whenever the prop value equals null, the panel seems to auto close, however that doesnt seem to happen when i dont set selectValue to null in the watcher:This is my code currently:
*for security reasons i cannot make an exact reproduction but theres the gist of what im talking about in comment format
Reproducer
https://stackblitz.com/edit/ei89hb-ghosup?file=src%2FApp.vue
PrimeVue version
3.48.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Edge, Chromium, Firefox
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: