I'm trying to present a resizable NSWindow
defined like this:
let window = NSWindow()
window.contentViewController = NSHostingController(
rootView: Rectangle().frame(minWidth: 100, minHeight: 100))
window.styleMask.insert([.closable, .resizable])
Generally, I can resize this window but somehow I can NOT when it's presented from Safari app extension (.appex).
Did I miss something? Does anyone know what's happening?