Hi, when using `bottomSheet` from `accompagnist` ...
# compose
b
Hi, when using
bottomSheet
from
accompagnist
how can we set or control the default
modalSheetValue
??
i
Do you mean Accompanist Navigation Material? The state is controlled by the NavController, so you navigate to a bottom sheet destination to make it appear and pop the destination to hide it. You don't directly set any value. What are you trying to do?
b
@Ian Lake when i navigate to a bottomsheet (accompanist navigation), it opens a bottomsheet with the state halfExtended what i want to do is to have a button that can change it state to extented
i
I'd suggest commenting on this related issue of having it start fully expanded by default: https://github.com/google/accompanist/issues/657 - that would be where we'd offer control over that kind of state
👍 1