I get an error whenever I try to collapse the `bot...
# compose
m
I get an error whenever I try to collapse the
bottomsheet
using the code blow:
Copy code
if (!scaffoldState.bottomSheetState.isCollapsed)
    scaffoldState.bottomSheetState.collapse()
the error I get:
java.lang.IllegalArgumentException: The target value must have an associated anchor.