Repository navigation
feat(ContextMenu): add open and pressOpenDelay props - #7136
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughContextMenu now accepts and forwards the Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The documented controlled ContextMenu behavior is supported by the dependency and wrapper, with no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
commit: |
|
Client output of the apps in
Raw sizes
|
🔗 Linked issue
Stacked on #7132.
❓ Type of change
📚 Description
Reka UI 2.11 adds two props to
ContextMenuRoot, both forwarded fromContextMenuhere:open: the open state can be controlled, sov-model:openworks like onDropdownMenu(fix(ContextMenu): support controlled open state unovue/reka-ui#2936).update:openwas already emitted.pressOpenDelay: the duration of the long press that opens the menu on touch,700by default.#7127 omits both from
ContextMenuPropsso the bump alone doesn't expose props that do nothing.📝 Checklist