fix: ActionSheet cuts off the bottom content#7326
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 selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2026-03-05T14:28:10.004ZApplied to files:
📚 Learning: 2026-03-17T19:15:26.536ZApplied to files:
🔇 Additional comments (3)
WalkthroughThis PR fixes ActionSheet detent calculation to include handle height, improves logout helper robustness for small screens, adds comprehensive small-screen regression tests for Servers History and Servers List views, and parameterizes a test configuration to support multi-platform execution. ChangesSmall-Screen UI Testing and ActionSheet Rendering
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 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. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
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 |
Proposed changes
Fixes a bottom-clipping regression in action sheets that render arbitrary children (not the predefined options list) on devices without a home-indicator safe-area inset — most visibly iPhone SE, where the Add Server button in the Workspaces sheet was cut off.
Issue(s)
https://rocketchat.atlassian.net/browse/SUP-1040
How to test or reproduce
Screenshots
Servers List
Servers History
Types of changes
Checklist
Further comments
Summary by CodeRabbit
Tests
Bug Fixes
Chores