-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Fix problem with right-clicking on a right-to-left selection #80186
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 problem with right-clicking on a right-to-left selection #80186
Conversation
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!
@@ -487,6 +487,48 @@ void main() { | |||
expect(renderEditable.selectPositionAtCalled, isTrue); | |||
}); | |||
|
|||
testWidgets('TextSelectionGestureDetectorBuilder right click', (WidgetTester tester) async { |
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.
nit: indentation
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.
Also could you add a comment to this test that says it's a regression test for #80119, for posterity?
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.
Thank you for the review! Both issues are now fixed.
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
What the status of this PR? We need this PR.... Please... |
I'm not sure if the test failures (especially the customer testing failures) are flakes. @ludwiktrammer could you sync the PR to |
@LongCatIsLooong Done. This time the checks have passed successfully :) |
Fixes #80119, #79592. Right clicking on a selection that was created from right-to-left will now work the same as left clicking on a selection that was created from left-to-right.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.