Skip to content

Conversation

@markusaksli-nc
Copy link
Contributor

@markusaksli-nc markusaksli-nc commented Feb 16, 2022

Turns out #98511 broke #97790 by always consuming the input @justinmc

I think the basic CallbackAction always consumes the input since it can't be disabled like _AutocompleteCallbackAction. Either way it broke the test for #97790 and should get reverted and fixed. I think the PR checker was behind ToT since I rebased just before #98511 landed.

Reverts #98511

@flutter-dashboard flutter-dashboard bot added a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. labels Feb 16, 2022
Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

RSLGTM

@markusaksli-nc markusaksli-nc merged commit 0acfb21 into master Feb 16, 2022
@markusaksli-nc markusaksli-nc deleted the revert-98511-dimiss-text-selection-toolbar branch February 16, 2022 19:42
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Feb 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Feb 16, 2022
@justinmc
Copy link
Contributor

Ah sorry, I should have realized that would happen in code review.

I think the action in EditableText can set its isEnabled based on whether or not the toolbar is currently visible. Then if the Autocomplete is showing its options, and the field is showing the selection toolbar, the first escape would close the toolbar, and the second would hide the options. I think that's the right behavior in that case.

clocksmith pushed a commit to clocksmith/flutter that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants