File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " sileo" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.2 " ,
44 "description" : " An opinionated, physics based toast notification library for react." ,
55 "license" : " MIT" ,
66 "repository" : {
Original file line number Diff line number Diff line change @@ -399,6 +399,8 @@ export const Sileo = memo(function Sileo({
399399 [ open , expandedContent ] ,
400400 ) ;
401401
402+ const bodyTransition = open ? SPRING : { ...SPRING , bounce : 0 } ;
403+
402404 const pillTransition = ready ? SPRING : { duration : 0 } ;
403405
404406 const viewBox = `0 0 ${ WIDTH } ${ svgHeight } ` ;
@@ -559,7 +561,7 @@ export const Sileo = memo(function Sileo({
559561 fill = { view . fill }
560562 initial = { false }
561563 animate = { bodyAnimate }
562- transition = { SPRING }
564+ transition = { bodyTransition }
563565 />
564566 </ svg >
565567 </ div >
You can’t perform that action at this time.
0 commit comments