My observations:
-
Passing a
FocusState.Binding
usingfocusedSceneValue
seems to work only when the app uses aWindowGroup
. -
When the app uses a
Window
(single window) passing theFocusState.Binding
infocusedSceneValue
doesn't seem to work. -
When app uses
Window
passingFocusState.Binding
usingfocusedValue
and receiving it in@FocusedValue
seems to work.
Question:
Is this expected behaviour? (should focusedSceneValue
only work for WindowGroup and not for Window
?)