Skip to content

programmatic position change not animated #75

Answered by lucaszischka
LinusGeffarth asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried using

withAnimation(.spring()) {
    self.bottomSheetPosition = .top
}

when setting the bottom sheet position programmatically?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lucaszischka
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #55 on June 26, 2022 20:26.