-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix auto focus after side pane is closed, fix popover position on attachment modal #59156
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
Merged
robertjchen
merged 22 commits into
Expensify:main
from
software-mansion-labs:side-pane-fix/auto-focus
Mar 31, 2025
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c4242cc
Improve useSidePane logic
blazejkustra 28481ae
Remove focus trap on large screen
blazejkustra 6fa8374
Auto focus inputs when side pane is closed
blazejkustra ea330ed
Remove unnecessary blur on composer
blazejkustra bb293cf
Refactor and create useSidePaneDisplayStatus
blazejkustra 3ab8c60
Rename isPaneHidden to shouldHideSidePane
blazejkustra 5fbdeea
Refactor HelpButton to use useSidePaneDisplayStatus
blazejkustra fc71e35
Prevent composer focus when side pane is visible
blazejkustra 42b7eaf
Fix logic
blazejkustra 8a81b7d
Fix focusing on large screen
blazejkustra f2e3379
Merge branch 'main' of github.com:Expensify/App into side-pane-fix/au…
blazejkustra 5378b85
Refactor useThreeDotsAnchorPosition to use updated side pane display …
blazejkustra f30d898
Fix 3-dot menu position on attachment view
blazejkustra 0d02f6c
Merge branch 'main' into side-pane-fix/auto-focus
blazejkustra d98fec3
Fix isModalCenteredVisible logic
blazejkustra 067252b
Fix prettier
blazejkustra 22f7166
Fix logic for tooltips
blazejkustra d94e63c
Merge branch 'main' of github.com:Expensify/App into side-pane-fix/au…
blazejkustra 4bccfa2
Refactor side pane tooltip visibility, hide it only on animation on w…
blazejkustra db0ce4d
Fix lint
blazejkustra 6f7aec9
Remove unnecessary dependencies from side pane animation effect
blazejkustra d3e4116
Merge branch 'main' of github.com:Expensify/App into side-pane-fix/au…
blazejkustra 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 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
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
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
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
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
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
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
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
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
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
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.
I've noticed here a little change in hiding tooltip logic. I've checked and tooltips no longer hide during side pane hiding animation. I can't find any tooltip that can be affected by this (it should bo located on the right side of the screen on Extra large). But I remember that there was w tooltip next to advanced filters buttons that I can't find anymore.
If that's no longer a problem please ignore this comment
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.
The tooltip I was talking about was removed in #58539
But it's still possible there are similar ones in the app
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.
Should be fixed with latest commits!
Screen.Recording.2025-03-28.at.11.45.15.mov