Closed
Description
🐛 Bug Report
useTreeData
append stops working after selecting a key using setSelectedKeys
🤔 Expected Behavior
append
should work at all times
😯 Current Behavior
append
quits working after an item is selected using setSelectedKeys
💁 Possible Solution
/
🔦 Context
I am trying to build a custom tree view component using the useTreeData
hook
💻 Code Sample
https://codesandbox.io/s/currying-https-vyq7ri?file=/src/App.tsx:363-364
🌍 Your Environment
Software | Version(s) |
---|---|
@react-stately/data | 3.5.1 |
Browser | Google Chrome |
Operating System | Windows 10 |