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

MDDialog hover state change disregards custom md_bg_color #1684

Open
ddauer opened this issue Apr 18, 2024 · 1 comment
Open

MDDialog hover state change disregards custom md_bg_color #1684

ddauer opened this issue Apr 18, 2024 · 1 comment
Labels
Status: Needs analysis Issue needs to be analyzed if it's real

Comments

@ddauer
Copy link

ddauer commented Apr 18, 2024

When opening a simple dialog with a custom md_bg_color, a mouse exit will kill the md_bg_color (by setting it to transparent or something).

MDDialog(            
	MDDialogContentContainer(
		MDIcon(icon="weight")
	),
   	theme_bg_color = "Custom",
	md_bg_color = "red",
).open()

This is due to

self.md_bg_color = self._bg_color

Disable this line, and the md_bg_color will stay red onMouseOut (as expected)

@HeaTTheatR HeaTTheatR added the Status: Needs analysis Issue needs to be analyzed if it's real label Apr 18, 2024
@cdavidson-project-canary
Copy link

cdavidson-project-canary commented Apr 18, 2024

This sounds similar to the bug i wrote yesterday: #1681. However, I only experienced issues with the bg color when using the @mainthread decorator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs analysis Issue needs to be analyzed if it's real
Projects
None yet
Development

No branches or pull requests

3 participants