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
{{ message }}
Repository navigation
Problems using ColorPicker and CodeEditor at the same time #13
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.
Activity
helje5 commentedon Apr 21, 2022
I still think that this is likely a bug in SwiftUI itself, not in the CodeEditor.
helje5 commentedon Apr 21, 2022
Though two color pickers work alongside.
helje5 commentedon Apr 21, 2022
I wonder whether the behaviour is actually intentional. I.e. the NSColorWell is active, and you pick the color in some text field 🤔
SNQ-2001 commentedon Apr 21, 2022
If it's a SwiftUI bug, there's nothing we can do about it😭
We can only hope for the development of SwiftUI
CodeEditor is a great OSS!
Thanks for creating it!!!
helje5 commentedon Apr 21, 2022
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.