-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Fix jumping when doing long press for selecting text #102270
Fix jumping when doing long press for selecting text #102270
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Hi @LongCatIsLooong ci.yaml validation DETAILS |
could you try syncing the pull request to |
thank you for your hint @LongCatIsLooong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 6ea4aef.
…#102270)" (flutter#103142) This reverts commit 6ea4aef.
…ter#103206) * Revert "Fix jumping when doing long press for selecting text (flutter#102270)" (flutter#103142) This reverts commit 6ea4aef. * Roll engine with Cps * Fix engine hash
…#103374) * [flutter_releases] Cherry pick flutter-2.13-candidate.7 changes (#103206) * Revert "Fix jumping when doing long press for selecting text (#102270)" (#103142) This reverts commit 6ea4aef. * Roll engine with Cps * Fix engine hash * [flutter_releases] partial revert of repaint boundary change (#102962) (#103214) Co-authored-by: Jonah Williams <[email protected]> * [flutter_releases] remove assert on markNeedsCompositingBitsUpdate #103227 (#103225) Co-authored-by: Casey Hillers <[email protected]> Co-authored-by: Jonah Williams <[email protected]>
Is there any chance ti get this live? I still have the problem. However, do I understand the last message correctly, that you fix has been removed? |
@S-Man42, yes the fix is removed from master due to Google internal pipeline errors. @LongCatIsLooong is taking care and would fix. |
Would it be possible to have this hotfixed into 3.3.x stable? This issue is effecting a large number of our production users. |
It's now April 2023 and I am still experiencing this issue... I still sometimes view the StackOverflow thread on this issue and go to this thread almost habitually just to find out if there are any updates on this fix being merged back to stable. Some of us rely on CI/CD pipelines that build with stable and we can't rely on custom forks of Flutter for one or two lines of code deletions in Is it possible I could follow up on a status for this fix being added back to stable? This is really weird and annoying behaviour... |
If on an EditableText or SelectableText widget a text is selected, then the viewport will be scrolled to the last cursor position, but while selecting any text, the cursor gets an inactive state
_cursorActive = false
.With this PR the misbehaviour of jumping to a non existent cursor will be avoided with checking for
!_cursorActive
to interrupt jumping to the non existing cursor.#91464 will be resolved
Pre-launch Checklist
///
).