-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Window gets :is(Control) style applied twice #8549
Comments
:is(Control)
style applied twice
:is(Control)
style applied twice
Caused by this line in https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/TopLevel.cs#L185 This causes styling to be applied as soon as the I quickly tried to just remove this line, but a bunch of controls/tests rely on the styling being applied after construction. |
Describe the bug
Windows get the
:is(Control)
style applied twice, as can be seen in DevTools:To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: