We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.textSelection(.enabled)
For example, this only lets me select Hello and World individually, but not in one selection.
Hello
World
VStack { Text("Hello") .textSelection(.enabled) Text(" ") Text("World") .textSelection(.enabled) }
This makes it really hard to have complex views where only some parts can be selected.
I’m aware I could use + on the Text views to combine them, but the above is just a very minimal example. It would not work in my real-world code.
+
Text
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
For example, this only lets me select
Hello
andWorld
individually, but not in one selection.This makes it really hard to have complex views where only some parts can be selected.
I’m aware I could use
+
on theText
views to combine them, but the above is just a very minimal example. It would not work in my real-world code.The text was updated successfully, but these errors were encountered: