4 ms·
I think the selection some improvement improvements needed reach a native-feel. For example, interactions like triple-click to select a line. However I think t
by vendiddy 6y ago
I think the selection some improvement improvements needed reach a native-feel. For example, interactions like triple-click to select a line.
However I think the decision to make text selection opt-in makes sense from the context of an application that targets web.
For example, if you open up your mail app or Slack, you will find that a lot of text on the screen isn't selectable. For example, you can't select the text of the tabs on your browser.
If all text was selectable by default for an app, it may cause unexpected results rather than having the develop opt-in to deciding what is selectable. We have many widgets in our app that we wouldn't want selectable for UX reasons.
In practice, it hasn't been much effort for us to make things selectable. Just need to replace a Text widget with a SelectableText widget.