Use reanimated modal in Help modal#65409
Conversation
…feat/use-reanimated-modal-in-help-modal
|
@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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb Chromeandroid-web.moviOS: HybridAppios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
Definitely looks like double-overlay there. I don't think I'd expect that for stacked RHPs, only when we show a confirmation dialog on top of an RHP screen (I think). |
|
Good shout, I definitely agree with that! |
|
Hey @shawnborton, @dannymcclain Currently on main we have double overlays as well. This is being addressed in #66132. |
|
Sounds good, thanks for confirming. |
|
@jmusial |
|
Found this 2025-07-16.15.48.20.mov |
|
Minor cursor inconsistency 2025-07-16.16.10.43.mov |
|
do want the select pointer when hovering on backdrop? I believe we set it to default in other modal PRs. (and the cursor is default for me on the main branch, not sure why it's different on staging) |
Hmmmm |
|
LGTM ! Since it is not related to reanimated modals |
|
Damn |
| @@ -1,5 +1,7 @@ | |||
| import React, {forwardRef, useCallback, useContext, useEffect, useMemo, useRef} from 'react'; | |||
| import {View} from 'react-native'; | |||
| // Animated required for side panel navigation | |||
There was a problem hiding this comment.
Why do we need this? Is there any plan to use something that is not restricted?
There was a problem hiding this comment.
we use an animated value obtained from navigation to fix the modals being covered by the help modal. unfortunately, react-navigation uses Animated, instead of Reanimated, under the hood, so we cannot escape it here :/
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.83-0 🚀
|
|
@jmusial Hi Should the user see the help icon in this build 83-0? |
You have to run |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.83-5 🚀
|


Explanation of Change
This PR uses react-native-reanimated based modal for Help Modal and AvatarCrop Modal. Some of the changes in this PR overlap with #65409, due to animation slide in from right.
Fixed Issues
$ #64778
PROPOSAL:
https://expensify.slack.com/archives/C05LX9D6E07/p1750147058498549
Depends on
#65250
Tests
Offline tests
Same as tests
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
0030.andoroid.native.mov
Android: mWeb Chrome
https://github.com/user-attachments/assets/1b090d09-96a4-4b39-a7fb-bec5af608929iOS: Native
0030.ios.natie.mp4
iOS: mWeb Safari
0030.ios.safari.mp4
MacOS: Chrome / Safari
0030.desktop.native.mov
MacOS: Desktop
0030.desktop.chrome.mov