fix(popover): portal into closest dialog to stay on top layer#300
fix(popover): portal into closest dialog to stay on top layer#300desmondinho merged 1 commit intomainfrom
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip You can customize the high-level summary generated by CodeRabbit.Configure the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #300 +/- ##
==========================================
- Coverage 96.95% 93.02% -3.93%
==========================================
Files 70 166 +96
Lines 1542 2750 +1208
Branches 150 403 +253
==========================================
+ Hits 1495 2558 +1063
- Misses 28 101 +73
- Partials 19 91 +72 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Closes #299
Popovers (used by LumexSelect, etc.) were portaled to
document.body, which sits below the native<dialog>top layer. This made select dropdowns invisible when rendered inside a LumexModal.What's been done?
<dialog>element and portal into that dialog instead, keeping the popover within the top layer stacking context.Checklist
Additional Notes
Summary by CodeRabbit