Repository navigation
Revert "Reland "fixes TextInputFormatter gets wrong old value of a se… - #78439
lukepighetti wants to merge 2 commits into
Conversation
…lection" (flutter#76653)" Related issue (flutter#77855) This reverts commit b0d4d44.
|
This pull request was opened against a branch other than master. Since Flutter pull requests should not normally be opened against branches other than master, I have changed the base to master. If this was intended, you may modify the base back to dev. See the Release Process for information about how other branches get updated. Reviewers: Use caution before merging pull requests to branches other than master, unless this is an intentional hotfix/cherrypick. |
|
We can't merge this to the dev directly, we will have to merge this to the master and ask for cherry picking. This will be a hard revert because some other commit has landed on top of that. |
Switched base to |
|
Let me see if I can come up with a fix without reverting the commit. |
|
Closed due to #77855 (comment), thanks! |
Revert "Reland "fixes TextInputFormatter gets wrong old value of a selection" (#76653)"
Related issue (#77855)
This reverts commit b0d4d44.
Description
After b0d4d44 an issue appeared on macOS where if the user smashed their keys it would create an infinite loop where the text selection and contents would jitter.
At the same time, a bug manifested when used in concert with
flutter_masked_textwhere any masked input would cause the cursor to not operate as expected, staying put when the mask inserted a character (?). This manifested itself on multiple platforms.I am requesting this commit be merged into
devas a hotfix until a suitable replacement for b0d4d44 can be found.I am also requesting clarification on my responsibilities for tests in this particular PR.
MCVE
#77855 (comment)
Resolves
#77855
The issue
The fix
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.