fix: Modal entering callback not called with reduced motion on#69014
Merged
mountiny merged 1 commit intoExpensify:mainfrom Aug 22, 2025
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Contributor
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
Contributor
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppNA Android: mWeb Chrome2025-08-22.18.02.36.moviOS: HybridAppNA iOS: mWeb Safari2025-08-22.17.57.29.movMacOS: Chrome / Safari2025-08-22.17.51.54.movMacOS: Desktop2025-08-22.17.54.29.mov |
Contributor
|
LGTM ! |
ZhenjaHorbach
approved these changes
Aug 22, 2025
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Contributor
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.98-0 🚀
|
49 tasks
Contributor
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.98-12 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Ensures onOpenCallBack is called when opening a modal, even with reduced-motion setting turned on. It should fix modals not hiding properly and blocking the entire page.
Fixed Issues
$ #67629
PROPOSAL: N/A
slack conversation: https://swmansion.slack.com/archives/C05LX9D6E07/p1755203353783979?thread_ts=1755030330.991819&cid=C05LX9D6E07
Tests
Web only.
If one is unable to reproduce the issue without this change, I suggest enabling the prefers-reduced-motion setting. Either in the device settings or emulating it in browser dev tools. Ensure you reload the page after enabling the setting.
also:
Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
Nagranie.z.ekranu.2025-08-22.o.16.54.20.mov
iOS: Native
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-08-22.at.16.36.50.mp4
MacOS: Chrome / Safari
Nagranie.z.ekranu.2025-08-22.o.16.26.12.mov
MacOS: Desktop