iTwin / viewer-components-react

Components built on iTwin.js for usability in an iTwin.js based Viewer.
MIT License
24 stars 33 forks source link

Tree widget: Tree stops working after applying filter #926

Closed grigasp closed 1 month ago

grigasp commented 1 month ago

http://localhost:3000/?iTwinId=892aa2c9-5be8-4865-9f37-7d4c7e75ebbf&iModelId=f34cc831-7139-4419-b502-b165e4294ca3

video 1: https://bentley.sharepoint.com/:v:/s/Rules-DrivenPresentation/Ec_ElYyUrpFBm71egK0LkYIBzvPvBmRU-cSzQJR5HgyM9w?e=dur6FT video 2: https://bentley.sharepoint.com/:v:/s/Rules-DrivenPresentation/EZ8ojZBdG6tBkZ0wxU9SRqsBooLt0IPJST2bK3ua5VIYNg?e=R9VjeM

As soon as filter is applied, several problems occur:

  1. Nodes get duplicated.
  2. Root Subject is gone after scrolling down and back up.
  3. Collapsing nodes doesn't work.
Yato333 commented 1 month ago

Another case of duplication

chrome_t36KmHdUZd