You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you're right that this is pretty nonintuitive for someone just looking to create a password field, though. The PR above will change the defaults so that enableInteractiveSelection will default to false when obscureText is true.
I believe currently in Android and iOS, the interactive selection is not completely disabled, but repurposed by just not viewing the Cut and Copy buttons, or any other ones that may reveal its value one way or another. The ones that usually remain are Paste, Select All, and Auto Fill.
@blucell Would you mind creating a new issue for these specific menu items? Looking into it, it seems like there has already been some desire for improved long press menu controls. This will give us some more reason to push for getting that right.
Meanwhile, I'll get the above PR over the finish line to at least fix the basic problem in this issue. We're currently in code freeze for the Flutter Live event, but I should be able to merge that right afterwards (December 10th or so).
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
justinmc commentedon Nov 19, 2018
You can work around this for now by using
enableInteractiveSelection:I think you're right that this is pretty nonintuitive for someone just looking to create a password field, though. The PR above will change the defaults so that
enableInteractiveSelectionwill default tofalsewhenobscureTextis true.0x0blu commentedon Nov 19, 2018
I believe currently in Android and iOS, the interactive selection is not completely disabled, but repurposed by just not viewing the
CutandCopybuttons, or any other ones that may reveal its value one way or another. The ones that usually remain arePaste,Select All, andAuto Fill.justinmc commentedon Nov 21, 2018
@blucell Would you mind creating a new issue for these specific menu items? Looking into it, it seems like there has already been some desire for improved long press menu controls. This will give us some more reason to push for getting that right.
Meanwhile, I'll get the above PR over the finish line to at least fix the basic problem in this issue. We're currently in code freeze for the Flutter Live event, but I should be able to merge that right afterwards (December 10th or so).
justinmc commentedon Dec 13, 2018
Alright the quicker fix is shipped. Thanks for opening the other issue. Hoping to get some time to work on the long press menu.
github-actions commentedon Aug 14, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.