I'm using a `ModalBottomSheet` with an `OutlinedTe...
# compose-android
y
I'm using a
ModalBottomSheet
with an
OutlinedTextField
, and I'm encountering a strange crash when I type some text, then repeatedly close and reopen the keyboard. Here's the error I'm seeing:
java.lang.IllegalArgumentException: Detected multithreaded access to SnapshotStateObserver: previousThreadId=23728), currentThread={id=2, name=main}. Note that observation on multiple threads in layout/draw is not supported. Make sure your measure/layout/draw for each Owner (AndroidComposeView) is executed on the same thread.
h
Which version of Compose foundation/material are you using?
Also is there a chance you can reproduce the issue on a minimal standalone project that you can share? Please file a bug in either case
K 1