Fix bug with transition draw when delay is passed

Signed-off-by: Gus Wezerek <gustav.wezerek@nytimes.com>
pull/8094/head
Gus Wezerek 4 years ago
parent aa5a1cdf1a
commit ebb9987fe7

@ -198,7 +198,10 @@ export function draw(node: SVGElement & { getTotalLength(): number }, {
delay, delay,
duration, duration,
easing, easing,
css: (t, u) => `stroke-dasharray: ${t * len} ${u * len}` css: (t, u) => `
stroke-dasharray: ${len};
stroke-dashoffset: ${u * len};
`
}; };
} }

Loading…
Cancel
Save