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

Fix keyboard cover SearchAnchor list results #165382

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

huycozy
Copy link
Member

@huycozy huycozy commented Mar 18, 2025

Fix #159261

We can leverage MediaQuery.viewInsets to handle this case. Once the keyboard prompts and covers the SearchAnchor suggestion list, it will need a bottom padding equivalent to MediaQuery.viewInsetsOf(context).bottom so that it's possible to view the whole list.

before after
before.mov
after.mov

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@huycozy huycozy self-assigned this Mar 18, 2025
@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Mar 18, 2025
Signed-off-by: huycozy <huy@nevercode.io>
@huynguyennovem huynguyennovem force-pushed the searhanchor-suggestion-keyboard-159261 branch from b40865b to 024b059 Compare March 20, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard cover SearchAnchor list results
1 participant