diff --git a/reorderable/src/commonMain/kotlin/sh/calvin/reorderable/ReorderableLazyList.kt b/reorderable/src/commonMain/kotlin/sh/calvin/reorderable/ReorderableLazyList.kt index ec433b5..8a3a9b8 100644 --- a/reorderable/src/commonMain/kotlin/sh/calvin/reorderable/ReorderableLazyList.kt +++ b/reorderable/src/commonMain/kotlin/sh/calvin/reorderable/ReorderableLazyList.kt @@ -288,7 +288,7 @@ fun LazyItemScope.ReorderableItem( animateItemModifier: Modifier = Modifier.animateItemPlacement(), content: @Composable ReorderableCollectionItemScope.(isDragging: Boolean) -> Unit, ) { - val orientation = state.orientation + val orientation = remember(state) { state.orientation } val dragging by state.isItemDragging(key) val offsetModifier = if (dragging) { Modifier