-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 cannot open search page by shortcut if delete receipt confirm modal is visible #33203
Merged
Merged
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
e5de1c7
Fix cannot open search page by shortcut if delete receipt confirm mod…
tsa321 d8d31f9
Remove isNavigating parameter
tsa321 8055f3c
Merge branch 'main' into seashortc-drconfirm
tsa321 cc393f3
Merge branch 'main' into seashortc-drconfirm
tsa321 c2547ef
Preserve the isNavigating parameter
tsa321 cf7c98d
add Reset isNavigate value
tsa321 e15c964
revert resetting isNavigate
tsa321 76c565a
Merge branch 'main' into seashortc-drconfirm
tsa321 d0f1991
add reset for isNavigate
tsa321 bf23434
Merge 'main' and resolve conflict
tsa321 dd7a6f1
Fix typecheck
tsa321 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed to prevent react native modal to show blue border box (because of focused state) of threedots button on modal hide when user close modal by pressing esc:
Video:
blue-border-d.mp4
This is because of trap focus of react native modal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not able to reproduce. Btw, if you reproduced, can you confirm also reproducible on staging/production?
If so, no need to fix here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aimane-chnaif Because I am using
onBackButtonPress={Modal.closeTop}
in BaseModal.tsx to fix an issue about: When user press three dots menu on attachment modal then pressesc
the attachment modal is closed. The current behavior in staging:Pressing esc on three dots menu in attachment modal:
esc-on-staging-d.mp4
After using
onBackButtonPress={Modal.closeTop}
:blue border appears:
blue-border-current-branch-d.mp4