dgreene1 / react-accessible-treeview

A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.
https://dgreene1.github.io/react-accessible-treeview
MIT License
277 stars 37 forks source link

Fix error thrown during propagation run after data mutates. #113

Closed kpustakhod closed 1 year ago

kpustakhod commented 1 year ago

The issue is: Tree component throws unexpected error if previously selected node is not present in data. The fix is: In propagation effect filter out not existing in data ids from idsToUpdate.

Ref: UIEN-4269