-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorcontrols 🎛️
Milestone
Description
Describe the bug
Saw this warning in the CI:
D:\a\1\s\Microsoft.Toolkit.Uwp.UI.Controls.Core\TabbedCommandBar\TabbedCommandBar.xaml(91,57): XamlCompiler warning WMC0151: Member 'ShouldConstrainToRootBounds' on type 'Windows.UI.Xaml.Controls.Primitives.IFlyoutBase6' is defined under contract 'Windows.Foundation.UniversalApiContract' version '8.0.0.0', but the contract version for the targeted min version is '7.0.0.0'! [D:\a\1\s\Microsoft.Toolkit.Uwp.UI.Controls.Core\Microsoft.Toolkit.Uwp.UI.Controls.Core.csproj]
Seems like we're using a property which isn't supported down to 1809. https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.primitives.flyoutbase.shouldconstraintorootbounds
Expected behavior
We need to remove property or add conditional XAML (which not sure if that's fixed yet? microsoft/microsoft-ui-xaml#2556)
FYI @yoshiask
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorcontrols 🎛️