You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS, Android] DrawerControl.DrawerContent isn't set on mobile but works on win #12624
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platform
Before we used a drawer control but we had issues with it so we switched to a split view but the native splitview doesn't have gestures so we took the DrawerSplitViewStylestyle and that's when the bug appeared. So maybe the combination of a drawer control inside a splitview is causing this issue.
This is the result of {TemplateBinding} not applying properly in uno: #1621
The nested template doesnt inherit the proper templated-parent, for the binding to work:
^ the Drawer_PaneHolder here is supposed to have SplitView#RootSplitView for its templated-parent, as it is defined directly under the control-template for SplitView.
The very same problem can also be produced with XamlReader.Load, hints that the problem is how we handles {TemplateBinding} or {Binding RelativeSource={RelativeSource TemplatedParent}}. However, it is impossible to trace-back under which control-template it was define under, as we can't just blindly navigate up by n-levels.
We will have to do as the linked issue suggested, to inject the relevant context/templated-parent during the xaml-source-generation or XamlReader-loading.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.
difficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/bugSomething isn't workingplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platform
Activity
Xiaoy312 commentedon Jun 26, 2023
This is the result of
{TemplateBinding}not applying properly in uno: #1621The nested template doesnt inherit the proper templated-parent, for the binding to work:
templates are slightly modified to help identify element (click here to see details)
^ the
Drawer_PaneHolderhere is supposed to haveSplitView#RootSplitViewfor its templated-parent, as it is defined directly under the control-template forSplitView.Xiaoy312 commentedon Jun 26, 2023
The very same problem can also be produced with
XamlReader.Load, hints that the problem is how we handles{TemplateBinding}or{Binding RelativeSource={RelativeSource TemplatedParent}}. However, it is impossible to trace-back under which control-template it was define under, as we can't just blindly navigate up by n-levels.We will have to do as the linked issue suggested, to inject the relevant context/templated-parent during the xaml-source-generation or XamlReader-loading.
github-actions commentedon May 8, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.