You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required. A unique string to identify the component.
element
Wrapping element type.
'div'
duration
Animation duration (in milliseconds).
200
easing
Animation easing function.
''
animationDelay
Add delay of calculating the mounted component position. Setting to 1 usually helps avoiding issues with window scrolling.
null
onAnimationEnd
Event dispatched when the animation has finished.
null
How does it work?
A transition is made when an <Overdrive id="example"/> component is unmounted and another <Overdrive id="example"/> is mounted not later than 100ms.
The transition is made by cloning the unmounted and mounted components, adding them with absolute position and CSS transformed from the source to the target position.
Sponsors
Thanks to the following companies for generously providing their services/products to help improve this project:
Thanks to BrowserStack for providing cross-browser testing.
Who made this?
Tal Bereznitskey. Find me on Twitter as @ketacode.