react-type-animation icon indicating copy to clipboard operation
react-type-animation copied to clipboard

Animation is very slow until i change tabs

Open FaryarKankash opened this issue 11 months ago • 3 comments

<TypeAnimation sequence={[> question: ${item.question}, ]} wrapper="p" speed={{ type: "keyStrokeDelayInMs", value: 0.001 }} className='font-secondary' />

FaryarKankash avatar Mar 01 '24 15:03 FaryarKankash

I just tested it and in my case it's very fast, not slow, just as it should with a delay of 0.001ms between keystrokes. Not sure why it's slow on your end. Maybe this is related? https://github.com/maxeth/react-type-animation/issues/53

maxeth avatar Mar 01 '24 16:03 maxeth

I just tested it and in my case it's very fast, not slow, just as it should with a delay of 0.001ms between keystrokes. Not sure why it's slow on your end. Maybe this is related? #53

do you test it in next js? i have this problem in next js app router client side

FaryarKankash avatar Mar 06 '24 05:03 FaryarKankash

@FaryarKankash yes i faced this while using nextjs and passing number. use this speed prop instead speed={{type: "keyStrokeDelayInMs", value: 20}}

malmahdawi avatar Jul 02 '24 10:07 malmahdawi