FunkyMuse
04/16/2021, 12:04 AMFilip Wiesner
04/16/2021, 7:15 AMcompositionLocal
or remembers
DelegatingSoftwareKeyboardController
. Can you show how do you use it?FunkyMuse
04/16/2021, 7:18 AMkeyboardController
is actually LocalSoftwareKeyboardController.current
Filip Wiesner
04/16/2021, 7:26 AMDelegatingSoftwareKeyboardController
, it's valid only for that Composable "scope". So when you access LocalSoftwareKeyboardController.current
again in different composable, it create new instance.
And it only happens if there is no LocalSoftwareKeyboardController
composition local provided in the current context.Filip Wiesner
04/16/2021, 7:28 AMLocalSoftwareKeyboardController
is not a simple compositionLocal