fix: keep keypad state on flip and close it when dest token input is pressed#26068
fix: keep keypad state on flip and close it when dest token input is pressed#26068GeorgeGkas merged 1 commit intomainfrom
Conversation
|
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:
These are minor UI interaction improvements that affect the Bridge feature. The changes are well-covered by new unit tests that verify:
Tag Selection Rationale:
The risk is low because:
Performance Test Selection: |
|



Description
keep keypad state on flip and close it when dest token input is pressed
Changelog
CHANGELOG entry: keep keypad state on flip and close it when dest token input is pressed
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-4124
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
UI interaction change limited to keypad open/close behavior plus test-only mocks and snapshot updates; minimal impact outside the Bridge screen.
Overview
Updates
BridgeViewkeypad interactions: flipping source/destination tokens now callshandleSwitchTokensdirectly (no forced refocus orkeypadRef.open()), and pressing the destination amount input explicitly closes the keypad.Strengthens test coverage by mocking
BottomSheetDialogto make close behavior synchronous in JSDOM, adding a regression test for closing the keypad via destination input, and updating the flip test to assert the keypad open/closed state is preserved; snapshots are updated to match UI output changes.Written by Cursor Bugbot for commit f228f63. This will update automatically on new commits. Configure here.