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

Applying a template to BreadcrumbItem using style works differently then setting template directly #10141

Open
xperiandri opened this issue Nov 6, 2024 · 0 comments
Labels
area-Breadcrumb bug Something isn't working product-winui3 WinUI 3 issues

Comments

@xperiandri
Copy link

Describe the bug

When a control template is applied to BreadcrumbBarItem using style WinUI cannot initialize it failing on finding deferred element by name, while it works fine if control template inlined or set using static resource.

Steps to reproduce the bug

Use reproduction project BreadcrumbTemplateRepro.zip
Notice that if you extract the template and put it inline, project will run without any issues

Expected behavior

Template initialization works consistently in all cases: inline, static resource, within a style

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@xperiandri xperiandri added the bug Something isn't working label Nov 6, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Nov 6, 2024
@xperiandri xperiandri changed the title Applying a template to BreadcrumbItem using style works differently then setting template directly Applying a template to BreadcrumbItem using style works differently then setting template directly Nov 6, 2024
@karkarl karkarl added product-winui3 WinUI 3 issues area-Breadcrumb and removed needs-triage Issue needs to be triaged by the area owners labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Breadcrumb bug Something isn't working product-winui3 WinUI 3 issues
Projects
None yet
Development

No branches or pull requests

2 participants