fix: version action drop down poistioning#4431
Conversation
WalkthroughCSS class naming and positioning logic refactored in the Versions sidebar actions component. The action wrapper layout is renamed from toggle to targetWrapper, modernized positioning rules are removed, and dropdown positioning props are introduced alongside z-index styling adjustments. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
Do we need to update any tests? |
|
Merge Queue Status✅ The pull request has been merged at c3ff0e6 This pull request spent 7 seconds in the queue, with no time running CI. Required conditions to merge
|
Summary
The versions dropdown menu was appearing detached from its trigger button after a react-tether upgrade, because the absolutely-positioned toggle button gave the tether target wrapper zero dimensions, preventing correct position calculation.
Key Changes
Before
After
Summary by CodeRabbit
Release Notes