Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

remeasureSync

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before.

remeasureSync

Source set: Common
fun LayoutModifierNode.remeasureSync() = requireLayoutNode().forceRemeasure()

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before. Useful for cases like when during scrolling you need to re-execute the measure block to consume the scroll offset and remeasure your children in a blocking way.

Last updated: