Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation is very slow until i change tabs #55

Open
FaryarKankash opened this issue Mar 1, 2024 · 3 comments
Open

Animation is very slow until i change tabs #55

FaryarKankash opened this issue Mar 1, 2024 · 3 comments

Comments

@FaryarKankash
Copy link

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

@maxeth
Copy link
Owner

maxeth commented Mar 1, 2024

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

@FaryarKankash
Copy link
Author

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

@malmahdawi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants