Migrate Workspaces right-docked modals (1/2) to use Reanimated#65544
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
…-docked-reanimated-modals
|
@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: HybridApp2025-07-17.13.22.24.movAndroid: mWeb Chrome2025-07-17.12.25.24.moviOS: HybridAppios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopweb.mov |
|
Found a similar issue like here 2025-07-17.11.56.18.mov |
|
But looks like it's not related with reanimated modals |
|
I've also just removed the |
But now we have ts issues 😅 |
let's update the branch to the latest version of main |
|
Did last changes really not affect anything? 2025-07-17.14.28.32.mov |
|
I don't experience any change without the removed props. and looking at the code, I don't see any usage of them when opting for reanimated modal. they used to be passed to the react-native-modal library to improve animation performance, as it uses the Animated API, instead of Reanimated. and even then it wasn't used on iOS, just Android |
Oh |
|
Another ts issue 😅 |
|
Okay |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.84-1 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.84-4 🚀
|
Explanation of Change
Migrates TypeSelectorModal, TextSelectorModal, InitialListValueSelectorModal, AmountSelectorModal to use the new Reanimated modal.
Fixed Issues
$ #64778
Tests
Open all of the modified modals, see if they enter by sliding in from the right, and then exit by sliding out to the right.
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
Nagranie.z.ekranu.2025-07-8.o.11.59.20.mov
Android: mWeb Chrome
Nagranie.z.ekranu.2025-07-8.o.12.00.36.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-07-08.at.11.51.14.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-07-08.at.11.56.03.mp4
MacOS: Chrome / Safari
Nagranie.z.ekranu.2025-07-8.o.11.43.18.mov
MacOS: Desktop
Nagranie.z.ekranu.2025-07-8.o.11.41.39.mov