Bring back paste button hide behavior 2#56922
Merged
justinmc merged 2 commits intoflutter:masterfrom May 11, 2020
Merged
Conversation
flutter#56806)" This reverts commit 0786f29.
goderbauer
approved these changes
May 11, 2020
Member
There was a problem hiding this comment.
Let's move the if (_disposed) check to be the first thing in this callback since we don't have to do any of the other work if that happens.
8f79c5e to
0a2c0a5
Compare
Member
|
I believe this causes a new failure: |
jmagman
added a commit
that referenced
this pull request
May 11, 2020
justinmc
added a commit
to justinmc/flutter
that referenced
this pull request
May 13, 2020
…" (flutter#56951)" This reverts commit c969b8a.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original PR that has been reverted twice now: #54902
This caused a failure where the ClipboardStatusNotifier was modified after being disposed, which seems to be caused by receiving the clipboard data after disposal. My one line fix for this is to check if it's disposed before updating the value.