-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Selecting text when the color picker is open sets the color to black #177
Comments
There doesn't seem to be any clear solution to this right now, other than disabling text selection in as many places as possible, and explicitly dismissing all color pickers when the user initiates an export or shows the about view. |
jbmorley
added a commit
that referenced
this issue
Feb 3, 2023
Unfortunately it seems like there's a bug in SwiftUI that causes the currently selected color to be set to black if the user selects some text in the app when the color picker is open. This change works around that by closing the color picker in scenarios when it might occur and disables text selection where not aboslutely necessary. Hopefully SwiftUI will fix this in the future and we can remove the workaround (see #177).
jbmorley
added a commit
that referenced
this issue
Feb 3, 2023
…178) Unfortunately it seems like there's a bug in SwiftUI that causes the currently selected color to be set to black if the user selects some text in the app when the color picker is open. This change works around that by closing the color picker in scenarios when it might occur and disables text selection where not aboslutely necessary. Hopefully SwiftUI will fix this in the future and we can remove the workaround (see #177).
Pushing this into future so prompt future investigation, and in the hopes that the SwiftUI bug is fixed. |
Perhaps unsurprisingly, this bug still exists in Sequoia. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a SwiftUI bug, but it can make the app feel quite unreliable if, as the user is clicking around, they select some text in the app (e.g., license details, etc) and the icon color changes to black. 🤦🏻♂️
signal-2023-02-03-090226_002.mp4
Thanks to @tomsci for finding this one. 🙏🏻
The text was updated successfully, but these errors were encountered: