Skip to content

[CP][ios][ios17] fix auto-correction highlight on top left corner (Again) #132763

Description

@hellohuanlin

Issue Link

#131695

Commit Hash

5c05519

Target

stable

PR Link

flutter-team-archive/engine#44812

Changelog Description

Fix native auto-correction highlight region on top left corner.

Impacted Users

All iOS 17 users who uses text fields.

Impact Description

Without this fix, the highlight region shows up on top left corner of screen when there's misspelt word (see screenshot in #131695)

The edit menu on top left is also very bad UX (see screenshot in #130818)

iOS 17 will be released after our Flutter's stable release, and before our next release. So we will need this fix in current stable.

Workaround

NA

Risk

low

Test Coverage

yes

Validation Steps

  • Create a dummy flutter project with an Editable text (or just use flutter/dev/integration_tests/ios_platform_view_tests project)
  • Write a word with typo
  • The highlight does not show up on top left corner anymore.

Metadata

Metadata

Labels

cp: approvedApproved cherry-pick requestcp: merge-to-stableCherry-picks that should be merged to stablecp: mergedCherry-pick has been merged to the release branch.cp: reviewCherry-picks in the review queue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions