Skip to content

[Flutter Web] When pressing the Tab key in TextField, incorrect behavior occurs while Japanese IME composition mode is ON. #147282

Closed as not planned

Description

@ffpresents

Steps to reproduce

  1. Focus on a TextField.
  2. Turn on Japanese Input Mode of IME.
  3. Hit any characters. (eg. ああ)
  4. Press Tab key.
  5. [Bad Behavior] Composing mode is ends and the focus moved to the next TextField.

Environment: Chrome on Mac & Google Japanese Input
Flutter version: 3.19.6 (Stable), 3.22.0-16.0.pre.13 (Master)

Expected results

It becomes predictive text choice state.
image

Actual results

Characters are entered automatically and the focus moves to the next TextField.
image

Code sample

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        body: Column(
          children: [
            TextField(),
            TextField(),
          ],
        ),
      ),
    ),
  );
}

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.22.0-16.0.pre.13, on macOS 14.4.1 23E224 darwin-arm64, locale ja-JP)
    • Flutter version 3.22.0-16.0.pre.13 on channel master at /Users/ffunada/src/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a9a556be29 (17 hours ago), 2024-04-23 07:11:33 -0400
    • Engine revision ffd3911b1f
    • Dart version 3.5.0 (build 3.5.0-89.0.dev)
    • DevTools version 2.35.0-dev.8

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ffunada/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[☠] Connected device (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ Exception: Connected device exceeded maximum allowed duration of 0:04:30.000000
    • 

[✓] Network resources
    • All expected network resources are available.

Activity

  1. added
    in triagePresently being triaged by the triage team
    on Apr 24, 2024
  2. huycozy commented on Apr 24, 2024

    @huycozy
    Member

    Thanks for the report! This is a known issue being tracked at #79775. I will update that issue. Closing this issue as a duplicate, so please follow up on it for further updates.

  3. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    and removed
    in triagePresently being triaged by the triage team
    on Apr 24, 2024
  4. ffpresents commented on Apr 24, 2024

    @ffpresents
    Author

    @huycozy Thanks for your reply! I'll follow the issue that you mentioned.

  5. github-actions commented on May 8, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions