Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treetable lazy load plus pagination toggler icon remain as open #4441

Closed
anaelP opened this issue Sep 13, 2023 · 0 comments
Closed

Treetable lazy load plus pagination toggler icon remain as open #4441

anaelP opened this issue Sep 13, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@anaelP
Copy link

anaelP commented Sep 13, 2023

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.

@anaelP anaelP added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 13, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 16, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.43.0 milestone Nov 30, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Nov 30, 2023
@tugcekucukoglu tugcekucukoglu changed the title Component Name: Treetable lazy load plus pagination toggler icon remain as open Treetable lazy load plus pagination toggler icon remain as open Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants