fix: prevent search field going out of bounds when keyboard shown#25393
fix: prevent search field going out of bounds when keyboard shown#25393infiniteflower merged 1 commit intomainfrom
Conversation
…ppears Add proper keyboard avoiding view state management to RecipientSelectorModal, following the same pattern used in AccountSelector. This allows the MultichainAccountSelectorList to dynamically control keyboard avoiding behavior based on content, ensuring the search input stays visible when typing. Also dismiss keyboard when scrolling the account list for better UX.
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This is a minor UI/UX improvement that:
The SmokeTrade tag is appropriate because:
Risk is low because:
Performance Test Selection: |
|



Description
This PR fixes a bug where in the Swaps recipient account picker, if the user clicked on the search input bar, the keyboard would push the search input off screen.
Changelog
CHANGELOG entry: Fixed a bug where in the Swaps recipient account picker, if the user clicked on the search input bar, the keyboard would push the search input off screen.
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-3860
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-01-29.at.3.57.23.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI behavior change limited to the recipient selector bottom sheet’s keyboard handling; no changes to quoting, routing, or address selection logic.
Overview
Prevents the Bridge/Swaps recipient selector search field from being pushed off-screen when the keyboard appears by making
BottomSheet’skeyboardAvoidingViewEnabledstateful and lettingMultichainAccountSelectorListtoggle it based on list size.Also sets the list’s
keyboardDismissModetoon-dragto improve keyboard dismissal while scrolling.Written by Cursor Bugbot for commit a9293d0. This will update automatically on new commits. Configure here.