cengage / react-magma

https://react-magma.cengage.com
MIT License
21 stars 13 forks source link

fix(treeview): fix initial expanded items should expand all parents #1458

Closed vitaliirumiantsev-cengage closed 1 month ago

vitaliirumiantsev-cengage commented 1 month ago

Issue: #1431

What I did

Fixed initial expanded items should expand all parents

Checklist

How to test

Storybook -> TreeView -> Complex example -> note that all parents of item 'Section 5.1: Apple pie apple pie tart macaroon topping chocolate cake' are expanded even if we list only this item but don't list parents inside 'initialExpandedItems' prop

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: e459399627a48436842808c024336ab44a110b17

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 month ago

🚀 Deployed on https://docs-preview-1458--upbeat-sinoussi-f675aa.netlify.app

github-actions[bot] commented 1 month ago

🚀 Deployed on https://storybook-preview-1458--upbeat-sinoussi-f675aa.netlify.app