Skip to content

Conversation

@gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Aug 8, 2022

Description

This fixes a problem where tapping on autocomplete suggestions would close the autocomplete window and unfocus the text field before selecting the selection.

This was due to an oversight in #107262 where I forgot to add a TextFieldTapRegion around the autocomplete options dialog.

Related Issues

Tests

  • Wrote a test that checks to make sure that autocomplete responds properly to taps.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Aug 8, 2022
Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

I should have caught this when reviewing your tap region PR! Thanks for fixing this.

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gspencergoog gspencergoog added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 8, 2022
@auto-submit auto-submit bot merged commit 5805f45 into flutter:master Aug 8, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 9, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
yjbanov pushed a commit to yjbanov/flutter that referenced this pull request Aug 10, 2022
yjbanov pushed a commit to yjbanov/flutter that referenced this pull request Aug 10, 2022
yjbanov pushed a commit to yjbanov/flutter that referenced this pull request Aug 10, 2022
@gspencergoog gspencergoog deleted the fix_autocomplete branch October 7, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tapping on Autocomplete suggestions doesn't work

3 participants