Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Nov 5, 2019

The solution in this PR is to stop sending keyboard events to flutter if they were triggered on a text field. There are exceptions listed in the whitelist _alwaysSentKeys. e.g. modifier keys and Tab that are used by the framework to move the focus to next/previous text field.

Fixes flutter/flutter#44133

@mdebbar mdebbar requested a review from nturgut November 5, 2019 22:15
@mdebbar mdebbar self-assigned this Nov 5, 2019
Copy link
Contributor

@nturgut nturgut left a comment

Choose a reason for hiding this comment

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

Thanks Mouad!

@mdebbar mdebbar merged commit a9ef241 into flutter:master Nov 6, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 6, 2019
[email protected]:flutter/engine.git/compare/6c763bb551cb...9726b4c

git log 6c763bb..9726b4c --no-merges --oneline
2019-11-06 [email protected] Roll src/third_party/skia f3d4109a793b..cdc0c23f1a2e (36 commits) (flutter/engine#13707)
2019-11-06 [email protected] Fix splash screen lookup. (#44131) (flutter/engine#13660)
2019-11-06 [email protected] Fix editing selection and deletion on macOS (flutter/engine#13702)
2019-11-06 [email protected] [web] Don't send keyboard events from text fields to flutter (flutter/engine#13699)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
@mdebbar mdebbar added affects: text input platform-web Code specifically for the web engine labels Nov 6, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 6, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 6, 2019
[email protected]:flutter/engine.git/compare/6c763bb551cb...8ebb318

git log 6c763bb..8ebb318 --no-merges --oneline
2019-11-06 [email protected] Revert "Issues/39832 reland (#13642)" (flutter/engine#13720)
2019-11-06 [email protected] Ensure that the device pixel ratio is taken into account with window metrics in physical pixels. (flutter/engine#13708)
2019-11-06 [email protected] Fix NPE in splash screen lookup (flutter/engine#13719)
2019-11-06 [email protected] Roll src/third_party/skia 6e54a299cce9..6790423f84ef (11 commits) (flutter/engine#13718)
2019-11-06 [email protected] Roll src/third_party/dart 24f1f313a2..462a448ac8 (2 commits)
2019-11-06 [email protected] Roll src/third_party/dart 80fc4d54e5..24f1f313a2 (5 commits)
2019-11-06 [email protected] Roll src/third_party/skia f00524707da7..6e54a299cce9 (1 commits) (flutter/engine#13715)
2019-11-06 [email protected] Roll fuchsia/sdk/core/mac-amd64 from bCFtP... to 6Du8E... (flutter/engine#13714)
2019-11-06 [email protected] Roll src/third_party/dart 51016532e8..80fc4d54e5 (2 commits)
2019-11-06 [email protected] Roll src/third_party/skia cdc0c23f1a2e..f00524707da7 (2 commits) (flutter/engine#13712)
2019-11-06 [email protected] Roll src/third_party/dart 8bdca37e98..51016532e8 (21 commits)
2019-11-06 [email protected] Roll src/third_party/skia f3d4109a793b..cdc0c23f1a2e (36 commits) (flutter/engine#13707)
2019-11-06 [email protected] Fix splash screen lookup. (#44131) (flutter/engine#13660)
2019-11-06 [email protected] Fix editing selection and deletion on macOS (flutter/engine#13702)
2019-11-06 [email protected] [web] Don't send keyboard events from text fields to flutter (flutter/engine#13699)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
@mdebbar mdebbar deleted the text_field_arrows branch April 15, 2021 17:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: text input cla: yes platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[web] Arrow keys move twice in text fields

3 participants