Skip to content
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

SwiftUI MenuBarExtra More Colors #2

Open
ghost opened this issue Jul 29, 2024 · 0 comments
Open

SwiftUI MenuBarExtra More Colors #2

ghost opened this issue Jul 29, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2024

I am running the ColorWell in a SwiftUI app that uses a MenuBarExtra in the style of a window rendering. Right now I am using the minimal style with my own custom swatch of colors.

The control works great however there is a quirk, related to the Mac OS I think. It seems like the ColorPicker that shows on "Show More Colors..." stops showing after a certain amount of time. It is like the reference to that control gets lost. So in both the minimal and expanded styles, default too, the invocation of the color picker stops over time.

I saw something similar happen when I used the ColorPicker from Apple. Over the course of say 3-5 minutes it no longer became possible to invoke. Your control is more resilient in this regard today in that even without the picker, the user can select a color.

I was wondering if there is some way around it that has eluded me, or if there is a way I can stop showing the "Show More Colors..." button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants