fix(TreeView): pass id,inert to TreeViewList#12548
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
WalkthroughAdded ChangesTreeView rootListId/inert props
Estimated code review effort: 1 (Trivial) | ~5 minutes Sequence Diagram(s)sequenceDiagram
participant Consumer
participant TreeView
participant TreeViewList
Consumer->>TreeView: render with rootListId, inert
TreeView->>TreeViewList: id={rootListId}, inert={inert}
TreeViewList->>TreeViewList: render ul with id, inert attributes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview: https://pf-react-pr-12548.surge.sh A11y report: https://pf-react-pr-12548-a11y.surge.sh |
What: Closes #12241
id(as newrootListIdprop onTreeView) andinert(hidden, used by animations opt in) directly to TreeViewList instead of relying on spreading generic props which was passing duplicate ids unintentionally.Summary by CodeRabbit
New Features
Tests