lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.47k stars 725 forks source link

Page content overlays NavigationView #1033

Open mostafa901 opened 6 months ago

mostafa901 commented 6 months ago

Describe the bug

NavigationViewContent overlayes the NavigationView

To Reproduce

just place a canvas inside a page, add any child in the canvas, and pan the canvas . not sure if there is any flags to trigger / missed that i need to consider.

Expected behavior

the content page should be clipped, may be Panel-ZIndex sets it back, under the navigation panel.

Screenshots

winuiOverlayed

OS version

Windows 11

.NET version

.net 8 - Windows

WPF-UI NuGet version

I have tested this on Development and Master branch. both behaves the same.

Additional context

No response

mostafa901 commented 6 months ago

my mistake.. I forgot setting Canvas ClipToBounds = true; All works fine thanks