Primereact Tree does not keep node expanded after render

UI Components for React
Post Reply
Mehmet Salgar
Posts: 26
Joined: 05 Aug 2010, 10:11

16 May 2018, 15:25

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....

User avatar
aragorn
Posts: 3163
Joined: 29 Jun 2013, 12:38

17 May 2018, 07:59

Which PrimeReact version are you using?

Mehmet Salgar
Posts: 26
Joined: 05 Aug 2010, 10:11

17 May 2018, 08:58

Before notebook change 1.3.0 but yesterday I tried with 1.5.2 same behavior...

User avatar
aragorn
Posts: 3163
Joined: 29 Jun 2013, 12:38

30 May 2018, 11:47

Interesting! I still couldn't replicate it. Is the issue resolved?

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest