microsoft-ui-xaml
microsoft-ui-xaml copied to clipboard
ComboBox and Flyouts render under customed titlebar
Describe the bug
Flyouts and other control that render in a PopupRoot doesn't respect the
AppTitlebar.ExtendsContentIntoTitleBar
AppTitlebar.SetDragRectangles
API settings.
For example:

The redline shown above indicate the boundary of the DragRect and clickable area. However, combobox and other control can render under the titlebar so that make the popup partially unreachable.

Steps to reproduce the bug
Just do as I described above.
Expected behavior
There should be some API to change the so-called Clickable area programmatically. And Popup should aware to that.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.1.4
Windows app type
- [ ] UWP
- [X] Win32
Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response