TP-57753 | Fix rolodex recomposition issue (#369)
This commit is contained in:
@@ -19,7 +19,7 @@ import androidx.compose.animation.slideOutVertically
|
||||
import androidx.compose.animation.with
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.SideEffect
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
import androidx.compose.runtime.collectAsState
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableStateOf
|
||||
@@ -86,7 +86,7 @@ class AutoScrollViewRenderer(
|
||||
.collectAsState()
|
||||
updatedData = updatedDataState.value ?: updatedData
|
||||
}
|
||||
SideEffect {
|
||||
LaunchedEffect(targetMutableState) {
|
||||
job?.cancel()
|
||||
job =
|
||||
MainScope().launch {
|
||||
|
||||
Reference in New Issue
Block a user