Skip to content

Conversation

@Nickprovs
Copy link
Contributor

@Nickprovs Nickprovs commented Jan 28, 2026

I noticed an intended optimization was preventing dark mode toggles from rendering color button changes. Even if the color button picker isn't open, it should re-render the preview when the palette changes to show the colors for dark/light.

Removing the ShouldRender optimization fixed the issue with seemingly no difference in performance.

@sonarqubecloud
Copy link

@ScarletKuro ScarletKuro merged commit f6bb3d4 into MudBlazor:main Jan 28, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants