-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: smooth keyboard handling in BaseModal #54533
base: main
Are you sure you want to change the base?
fix: smooth keyboard handling in BaseModal #54533
Conversation
Note for me: Special Test cases
|
@kirillzyusko I noticed that the keyboard pops up for a short time before emoji picker is open. Can we prevent the immediate keyboard to show up while emoji picker is opening after the menu hides at 0.05 sec? 26.12.2024_00.41.18_REC.mp4 |
Did you test debug or release version? I can see such flickering in debug, but on release everything works fine 🤷♂️ |
Let me check the release version. |
Yeah, it looks good on Release build. |
Screenshots🔲 iOS / native27.12.2024_21.14.37_REC.mp4🔲 iOS / Safari27.12.2024_21.16.32_REC.mp4🔲 MacOS / Desktop🔲 MacOS / Chrome27.12.2024_03.24.33_REC.mp4🔲 Android / Chrome🔲 Android / native27.12.2024_03.14.42_REC.mp4 |
@kirillzyusko I believe we still have that issue on the Mobile browser. Even though I am testing on dev build but this might pop up again on lower-end devices as the logic is done that way. Looks like we are not suspending the keyboard while emoji picker is being opened from reactions. We should already have a logic to do that via |
Explanation of Change
Removed state-based animations and replace them with animations driven in a native thread for a better/optimized performance.
Fixed Issues
$ #54453
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
BaseModal-better-animations.1.mov
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-24.at.18.09.32.mov
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-24.at.18.17.31.mov
MacOS: Chrome / Safari
Screen.Recording.2024-12-24.at.18.21.17.mov
MacOS: Desktop
Screen.Recording.2024-12-24.at.18.25.24.mov