Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/bottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,14 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
* then we evaluate on mount use cases.
*/
if (!isAnimatedOnMount.value) {
/**
* if there's a running animation (like force close), respect it and don't
* override with mount animation
*/
if (animationStatus === ANIMATION_STATUS.RUNNING) {
return;
}

/**
* if animate on mount is set to true, then we animate to the propose position,
* else, we set the position with out animation.
Expand Down