Browse Source
- Calculate actual menu height using measure() for precise bounds checking - Add 32dp safety margin to account for navigation bar and system UI - Automatically adjust menu Y position when it would extend off bottom - Prevent menu from going off top of screen with maxOf(0, adjustedY) - Add comprehensive debug logging for position calculations This ensures the floating menu is always fully visible regardless of FAB position, with the menu intelligently shifting upward when the FAB is positioned near the bottom of the screen. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>feature/modern-capture-ui
1 changed files with 23 additions and 5 deletions
Loading…
Reference in new issue