Animating between sheet states #72
Unanswered
cking24343
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thank you for creating this sliding sheet composable library! It's been really helpful for my project.
I've noticed a behavior with the sheetState.fullyExpand() method that I wanted to ask about. When calling fullyExpand(), it seems to animate to the next state rather than directly to the fully expanded state from a collapsed or partial state. My expectation was that fullyExpand() would always take the sheet to the fully expanded state, regardless of its current state. However, it requires multiple calls to reach that state.
I see there's also an animateTo() method, but it seems to function similarly by moving to the next state rather than a specific state.
Is there a way to directly transition from a collapsed state to the fully expanded state in one call? If not, could this functionality be added, or could you suggest a workaround?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions