NPE when swiping on the side without actions
alashow opened this issue · 0 comments
alashow commented
Hello,
NPE happens when swiping the side without any actions. It's little bit harder to trigger when swipeThreshold=40.dp
but it still crashes when item is dragged 40.dp
. With swipeThreshold=1.dp
it crashes right away when swipe starts.
java.lang.NullPointerException
at me.saket.swipe.SwipeableActionsBoxKt$SwipeableActionsBox$1.invoke(SwipeableActionsBox.kt:88)
at me.saket.swipe.SwipeableActionsBoxKt$SwipeableActionsBox$1.invoke(SwipeableActionsBox.kt:56)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:127)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:127)