Skip to content

Conversation

@justinmc
Copy link
Contributor

This cherry picks #119565, which was a small fix to the math that positions the iOS text selection toolbar when it's too close to the top of the screen. This should be a low-risk change.

Some changes in that PR were made to files that don't exist yet in this candidate branch, so I have ignored those changes.

Closes #121307

CC @limenote135

…r#119565)

* Fix anchorBelow calculation, and share toolbar padding constant

* Fix constant references in test

* Test below position when padding is not offset by content distance
@justinmc justinmc self-assigned this Mar 17, 2023
@flutter-dashboard flutter-dashboard bot added a: text input Entering text in a text field or keyboard related problems f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Mar 17, 2023
@XilaiZhang
Copy link
Contributor

the codesign failures are expected, but I am not sure about the the linux docs_test failure

Copy link
Contributor

@XilaiZhang XilaiZhang left a comment

Choose a reason for hiding this comment

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

would be great if can verify with @godofredoc on the linux doc test

@justinmc
Copy link
Contributor Author

Ah those docs errors are artifacts of the merge, those classes truly don't exist yet. I just removed them.

@itsjustkevin itsjustkevin merged commit e1d9a6c into flutter:flutter-3.7-candidate.1 Mar 18, 2023
@justinmc justinmc deleted the cp-context-menu-positioning branch March 20, 2023 20:42
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 22, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 23, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants