Treetable lazy load plus pagination toggler icon remain as open #4441
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When a node is opened in the TreeTable component and then the page is changed, the expandable node remains open even if it has no data. This behavior can be reproduced directly on the official PrimeVue website example.
Reproducer
https://codesandbox.io/s/glknsh
PrimeVue version
3.34.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome 117
Steps to reproduce the behavior
Open the provided PrimeVue TreeTable example.
Expand a node to load data.
Change the page using the pagination controls.
Come back to the page where the node was open
and we can constat that the icon shown the node as open
Expected behavior
The expandable node should collapse or close automatically if it has no data after changing the page.
The text was updated successfully, but these errors were encountered: