Skip to content

[engine][spell_check] iOS 17 shows native text editing UI #130818

@hellohuanlin

Description

@hellohuanlin

Is there an existing issue for this?

Steps to reproduce

  1. Just an app with dummy text field.
  2. Type an incorrectly spelled word
  3. Hit space, and then backspace (this is the tricky part)

Tried on iOS 17, but not sure if it's the same on iOS 16

@camsim99 Likely we just need to disable the logic on framework side for iOS.

Expected results

There shouldn't be the android style prompt

Actual results

The android style prompt appears at the top left corner of the screen

Simulator Screenshot - iPhone 14 Pro Max - 2023-07-18 at 11 41 48

Code sample

NA

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

No response

Flutter Doctor output

[✓] Flutter (Channel main, 3.13.0-5.0.pre.50, on macOS 13.4.1 22F82 darwin-x64, locale en)
• Flutter version 3.13.0-5.0.pre.50 on channel main at /Users/huanlin/Desktop/flutter/flutter
• Upstream repository [email protected]:flutter/flutter.git
• Framework revision 94179a8 (2 hours ago), 2023-07-18 12:42:10 -0400
• Engine revision c27658cc5a
• Dart version 3.1.0 (build 3.1.0-323.0.dev)
• DevTools version 2.25.0

[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/huanlin/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3

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

[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio with Blaze.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.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2021.1)
• 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 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.80.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version null

[✓] Connected device (4 available)
• iPhone 14 Pro Max (mobile) • 51C118C7-8C4D-4D79-83DC-EFDD697A205D • ios •
com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
• iPhone 14 Pro (mobile) • A78551E6-5D9B-4745-BA4C-BDCFAD4DDFE2 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
• macOS (desktop) • macos • darwin-x64 • macOS 13.4.1 22F82
darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome
114.0.5735.198

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

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemse: OS-version specificAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.found in release: 3.10Found to occur in 3.10found in release: 3.13Found to occur in 3.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions