Fix Screen Reader issue preventing bottom sheet from closing without selection#81536
Fix Screen Reader issue preventing bottom sheet from closing without selection#81536marufsharifi wants to merge 37 commits intoExpensify:mainfrom
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c02c0a7e81
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@truph01, kindly bump. thanks. |
|
Requested to create adhoc. |
|
🚧 @amyevans has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
@dubielzyk-expensify Could you give it another try? |
|
@marufsharifi Conflicts here |
|
Still having the same issue |
|
@truph01, what's next for this pr? thanks. |
|
@marufsharifi, could you merge main and request to build a new adhoc? |
|
@truph01, main merged, but I can't request to build a new adhoc, could you please do it? thanks. |
|
Running build 👍 |
|
🚧 @dubielzyk-expensify has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
It still focuses on the dismiss button as soon as the dialog opens. Recreated this issue by clicking the (+) button close to the navigation. |
|
@marufsharifi Could you check it again? |
|
Working on it |
|
@truph01, could you please take another look? I've fixed it. |
|
The lint failure is not related to our changes. btw. |
|
@marufsharifi Could you merge main to fix the lint issue? |
|
@marufsharifi Could you explain why:
Although it works well when testing in the Android simulator? |
|
@truph01 I rechecked this in detail. The issue was not caused by one specific review comment, but by the fact that the earlier version of the fix was broader and covered the FAB flow indirectly through shared modal behavior. Concretely:
For the second point, I re-tested the updated fix and it is now working as expected on Android real device (native and web) and on iOS web on a real device. To resolve it, I kept the same approach already used in
This fixes the FAB modal without broadening the behavior back into shared modal code. |
|
@truph01, The ESLint failure shown in the check appears unrelated to this PR’s changed files. |

Explanation of Change
Fixed Issues
$ #77459
PROPOSAL: #77459 (comment)
Tests
Offline tests
Same as the tests.
QA Steps
Same as the tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))npm run compress-svg)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-native-dismiss-order.mp4
Android: mWeb Chrome
android-web-dsmiss-order.mp4
iOS: Native
Screen.Recording.1404-12-14.at.9.18.25.PM.mov
iOS: mWeb Safari
Screen.Recording.1404-12-14.at.9.21.52.PM.mov
MacOS: Chrome / Safari
Not applicable.