java.lang.IllegalStateException: Current layout is not an ancestor of the provided child layout at androidx.ui.core.ComponentNodesKt.childToLocal(ComponentNodes.kt:1994) at androidx.ui.core.LayoutNodeCoordinates.childToLocal(ComponentNodes.kt:2187) at androidx.ui.core.selection.TextSelectionDelegate.getSelection(TextSelectionDelegate.kt:48) at androidx.ui.core.selection.SelectionManager.mergeSelections$ui_framework_release(SelectionManager.kt:91) at androidx.ui.core.selection.SelectionManager.mergeSelections$default$ui_framework_release(SelectionManager.kt:79) at androidx.ui.core.selection.SelectionManager$longPressDragObserver$1.onLongPress(SelectionManager.kt:117) at androidx.ui.core.gesture.LongPressDragGestureDetectorGlue$onLongPress$1.invoke(LongPressDragGestureDetector.kt:195) at androidx.ui.core.gesture.LongPressDragGestureDetectorGlue$onLongPress$1.invoke(Unknown Source:3) at androidx.ui.core.gesture.LongPressGestureRecognizer$pointerInputHandler$1$3.invoke(LongPressGestureDetector.kt:102) at androidx.ui.core.gesture.LongPressGestureRecognizer$pointerInputHandler$1$3.invoke(Unknown Source:0) at androidx.ui.temputils.CoroutineUtilsKt$delay$1.invokeSuspend(CoroutineUtils.kt:38) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.ResumeModeKt.resumeMode(ResumeMode.kt:67) at kotlinx.coroutines.DispatchedKt.resume(Dispatched.kt:319) at kotlinx.coroutines.DispatchedKt.dispatch(Dispatched.kt:301) at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:250) at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:260) at kotlinx.coroutines.CancellableContinuationImpl.resumeUndispatched(CancellableContinuationImpl.kt:332) at kotlinx.coroutines.android.HandlerContext$scheduleResumeAfterDelay$$inlined$Runnable$1.run(Runnable.kt:19) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6494) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)