ModalOptions.shouldAnimateOut
has been droppedshouldAnimateOut
modal option has been dropped after being deprecated since June 2020. If you haven't transitioned yet, you can use animationOut
or animationConfigOut
instead.ModalOptions.animateOut
has a new mandatory callback
argumentanimationIn
& animationOut
.callback
argument provided to you. This is required so that your callbacks can be invoked at the end of the animation(s) you'll define, for instance. Example:callback
is required if you are usinganimationOut
. That's because, since v3, Modalfy relies on that callback being invoked to mark a modal as closed in its own internal state. That's whycallback
is an optionally provided argument for animationIn
but always provided foranimationOut
.