-
Notifications
You must be signed in to change notification settings - Fork 58
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
Problems using ColorPicker and CodeEditor at the same time #13
Comments
I still think that this is likely a bug in SwiftUI itself, not in the CodeEditor. |
Though two color pickers work alongside. |
I wonder whether the behaviour is actually intentional. I.e. the NSColorWell is active, and you pick the color in some text field 🤔 |
If it's a SwiftUI bug, there's nothing we can do about it😭 CodeEditor is a great OSS! |
I'm not quite sure yet, maybe it isn't even a bug. I have the feeling the colorwell should resign being active (and stop tracking the NSColorPanel) if the NSTextView becomes first responder again. |
I found a new issue regarding the relationship between ColorPicker and CodeEditor
(1) Start ColorPicker
(2) Double-tap Text in CodeEditor
↓ Result ↓
The color of the Text is reflected in the ColorPicker
2022-04-22.0.14.52.mp4
The text was updated successfully, but these errors were encountered: