I want to use the CommandBar and a Flyout to build something like this.
CommandBar
Flyout
I can reproduce the issue. I think it's a bug in the Anniversary Update (1607) SDK (14393), because if I downgrade the target SDK to 10586 everythink work fine.
ps.: I don't know how to report this bug to the Microsoft.