diff --git a/Sources/PathPresenter/Path.swift b/Sources/PathPresenter/Path.swift index 277fe99..5991a4d 100644 --- a/Sources/PathPresenter/Path.swift +++ b/Sources/PathPresenter/Path.swift @@ -175,6 +175,7 @@ public extension PathPresenter { hash: value.id.hashValue, zIndex: zIndex)) case .sheet(onDismiss: let onDismiss): + relevantAnimation = nil path.append(.sheet(view: typeErased, hash: value.id.hashValue, onDismiss: onDismiss))