Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Keyboard service doesn't commit the last edit when it's dismissed #1370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2016

Conversation

abarth
Copy link
Contributor

@abarth abarth commented Jan 25, 2016

We were getting the proper values, but we thought we were still composing, so
the text was still underlined.

Fixes #115

We were getting the proper values, but we thought we were still composing, so
the text was still underlined.

Fixes flutter#115
@abarth
Copy link
Contributor Author

abarth commented Jan 25, 2016

@jason-simmons @Hixie

@@ -109,6 +109,7 @@ class _InputState extends State<Input> {
_editableString.selection.end);
} else if (!focused && _keyboardHandle.attached) {
_keyboardHandle.release();
_editableString.composing = TextRange.empty;
Copy link
Contributor

Choose a reason for hiding this comment

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

So this is the real fix, and the rest is just cleanup to use a single static?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I wanted to write this line of code correctly, which required refactoring how to get an empty text range.

abarth added a commit that referenced this pull request Jan 25, 2016
Keyboard service doesn't commit the last edit when it's dismissed
@abarth abarth merged commit a46fb2c into flutter:master Jan 25, 2016
@abarth abarth deleted the commit_on_release branch January 25, 2016 21:48
TahaTesser pushed a commit to NevercodeHQ/flutter that referenced this pull request Aug 13, 2020
* Pause/resume video recording for Android

* Specify type

* Add pausing and resuming to example app

* iOS side of pausing/resuming

* More documentation

* Version bump

* Add video pausing and resuming

* get pausing and recording to work for no audio

* It works

* Formatting

* Add test for pausing and resuming

* Call success outside try catch block

* formatting

* Disable audio in test and call result on iOS
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard service doesn't commit the last edit when it's dismissed
3 participants