Hi everybody,
after the initial render, if I expand some nodes and cause a new render with setState(), Tree is not keeping already expanded nodes, even Demo component at https://www.primefaces.org/primereact/#/tree behaves this was (just click a picture name with single selection example)...
I am quite sure it was not this way, lately I changes my notebook and I have to install new chrome and firefox(my current version is '61.0b5 (64-bit)'), is the cause of the change of behaviour of the component or was it like that all the time?
What I can do to keep expanded nodes expanded after the render?
Thx for answers....
Primereact Tree does not keep node expanded after render
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Which PrimeReact version are you using?
Github Profile: https://github.com/mertsincan
-
- Posts: 26
- Joined: 05 Aug 2010, 10:11
Before notebook change 1.3.0 but yesterday I tried with 1.5.2 same behavior...
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Interesting! I still couldn't replicate it. Is the issue resolved?
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 1
- Joined: 31 May 2023, 21:09
I am experiencing this as well. Even tried setting expandedKeys but it collapses after a render that is a result of a state update.
Any suggestions?
Any suggestions?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests