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

fix: Remove use of SymbolIcon in NavBar styles #235

Merged
merged 1 commit into from
May 18, 2022
Merged

Conversation

kazo0
Copy link
Contributor

@kazo0 kazo0 commented May 18, 2022

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

On Windows, having more than one NavigationBar within the visual tree will cause a crash
This is because of the SymbolIcon: On Windows, no IconElement derived classes (besides BitmapIcon) can be used as a StaticResource and placed multiple times in the visual tree.

microsoft/microsoft-ui-xaml#1494

What is the new behavior?

Don't crash

@github-actions
Copy link

github-actions bot commented May 18, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-235.eastus2.azurestaticapps.net

@kazo0 kazo0 enabled auto-merge (squash) May 18, 2022 20:25
@kazo0 kazo0 merged commit d908bb9 into main May 18, 2022
@kazo0 kazo0 deleted the dev/sb/navbar-symbolicon branch May 18, 2022 20:44
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