Skip to content
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

feat(mobile): Focus search on doubletap nav button #6048

Merged
merged 5 commits into from
Jan 15, 2024

Conversation

justinvdk
Copy link
Contributor

Superseeds #6040

Focuses search when tapping on the 'search' navigational button when search page already active.

Small demo:

output.mp4

This was my first change in a Flutter codebase. The way I declare a closure to capture the WidgetRef inside ImmichSearchBar feels a bit dirty. Would love to hear what would be a better approach.

Tested on "tablet size"-screens by hardcoding the conditional to use that layout.

@justinvdk
Copy link
Contributor Author

@bo0tzz Would you be so kind to apply the mobile tag for me ?

justinvdk and others added 3 commits January 14, 2024 22:30
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
And fix naming to better represent type.
@justinvdk justinvdk force-pushed the dev/search-nav-tap-focus branch 2 times, most recently from 03cb7c7 to 16e50a0 Compare January 14, 2024 21:38
@alextran1502 alextran1502 merged commit aa8c54e into immich-app:main Jan 15, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants