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 guess it could be ALLOW_TEXT_SELECTION, but you are still going to need to read the docstring to understand it.
I'm not sure the docstring really adds much apart from saying it is "automatic"?
For some context, I thought it worth raising this issue following #5770. It just seems confusing setting ALLOW_SELECT = False for buttons and other Textual widgets, as the name implies selecting the widget rather than just its text. There is also the allow_focus method which I think makes allow_select a more confusing name.
But perhaps that's just me. Obviously its entirely up to you and I appreciate this would be a breaking change!
I think
ALLOW_SELECT
is a confusing name, as it implies selecting the widget itself rather than just its text.Obviously this would be a breaking change, but I think worth clarifying that this relates to text selection.
The text was updated successfully, but these errors were encountered: