You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my app embedded in an NSPopover instead of the usual NSWindow and I'm getting zeroes when I try to get the dimensions of the window the app appears in. I suspect that's because the main NSApplication still has a window property that was initialized in the scaffolding even though I'm not using it?
Environment
Steps to reproduce the bug
I have my app embedded in an
NSPopover
instead of the usualNSWindow
and I'm getting zeroes when I try to get the dimensions of the window the app appears in. I suspect that's because the mainNSApplication
still has awindow
property that was initialized in the scaffolding even though I'm not using it?Expected Behavior
I should get the actual dimensions.
Actual Behavior
Here's what I get:
Reproducible Demo
Here's
AppDelegate.swift
(I converted the template forreact-native-macos
to Swift):And here's the
macos-bridging-header.h
:Additional context
No response
The text was updated successfully, but these errors were encountered: