Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented May 12, 2023

Description

This PR updates the macOS text input plugin to avoid adding a new line on a multiline text field when action is not set to TextInputAction.newline.

Related Issue

macOS implementation for flutter/flutter#125879.
(similar to the Linux implementation in #41895).

Tests

Adds 2 tests.

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍 . Thanks for testing both cases.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

lgtm -- thank you!

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label May 13, 2023
@auto-submit auto-submit bot merged commit 259daf6 into flutter:main May 13, 2023
@bleroux bleroux deleted the macos_text_input_insert_new_line_only_for_input_action_newline branch May 13, 2023 06:48
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 13, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 13, 2023
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
auto-submit bot pushed a commit that referenced this pull request Jun 1, 2023
…ne (#42244)

## Description

This PR updates the Windows text input plugin to avoid adding a new line on a multiline text field when action is not set to `TextInputAction.newline`.

## Related Issue

Fixes flutter/flutter#125879 as Linux and macOS implementations are merged.
Linux PR: #41895
macOS PR: #41977

## Tests

Adds 2 tests.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-macos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants