Stanislav Radchenko
09/12/2023, 6:35 AMLocalConfiguration because I need size synchronously and some variants like BoxWithConstraints is not applicable.Ivan Matkov
09/12/2023, 7:11 AMLocalWindowInfo.current.containerSize
It's experimental now and will be available in the next releaseRoland
09/12/2023, 8:51 AM.onSizeChanged() for the parent container.Ivan Matkov
09/12/2023, 8:57 AMonGloballyPositioned on root element and remember size for usage in your calculations.
In this case it isn't really "synchronous" way + there is an issue with not full screen compose canvas (currently there are a few more issues with not full screen compose, but it's another story)