Skip to content

Fixes a cursor offset mistake for Material on iOS - #27851

Merged
jslavitz merged 9 commits into
flutter:masterfrom
jslavitz:cursor-fix
Feb 13, 2019
Merged

jslavitz merged 9 commits into
flutter:masterfrom
jslavitz:cursor-fix

Conversation

@jslavitz

Copy link
Copy Markdown
Contributor

Fixes #27626.

@xster xster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok to do in a separate PR but we should have golden tests for the cursor on Material TextField on Android and iOS and for CupertinoTextField

Comment thread packages/flutter/test/material/text_field_test.dart Outdated
Comment thread packages/flutter/test/material/text_field_test.dart Outdated
Comment thread packages/flutter/test/material/text_field_test.dart Outdated
@xster

xster commented Feb 13, 2019

Copy link
Copy Markdown
Member

LGTM modulo one more test

@zoechi zoechi added a: text input Entering text in a text field or keyboard related problems platform-ios iOS applications specifically framework flutter/packages/flutter repository. See also f: labels. labels Feb 13, 2019
Comment thread packages/flutter/test/widgets/editable_text_cursor_test.dart Outdated
@xster

xster commented Feb 13, 2019

Copy link
Copy Markdown
Member

LGTM. We can do this and add the test later to unblock the roll.

@HansMuller HansMuller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM (please undo the reformatting)

Comment thread packages/flutter/test/material/text_field_test.dart
@jslavitz
jslavitz merged commit 1196dbe into flutter:master Feb 13, 2019
@tvolkert

Copy link
Copy Markdown
Contributor

Ok to do in a separate PR but we should have golden tests for the cursor on Material TextField on Android and iOS and for CupertinoTextField

I want to make sure this isn't dropped - we need pre-commit golden image tests that would have caught this.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. platform-ios iOS applications specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Material TextField's cursor seems off

6 participants