Hi, I'm using NSPanel that his level is .popUpMenu and when I use .quickLookPreview in SwiftUI it make the the Quick Look behind the nspanel how can I fix it without change the level of NSPanel?
window level popUpMenu and view behind it
Are you implementing your own popup menus? because typically you should have no need to programmatically set the level of a window.
Secondly, You would have to modify the stacking level. This is because Levels are listed in order from lowest to highest and the stacking of levels takes precedence over the stacking of windows within each level.
When you set the NSPanel level to .popUpMenu, it sits above standard application windows.