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

Ability to tweak disappear animation speed #78

Open
ndelangen opened this issue Sep 13, 2018 · 3 comments
Open

Ability to tweak disappear animation speed #78

ndelangen opened this issue Sep 13, 2018 · 3 comments

Comments

@ndelangen
Copy link

ndelangen commented Sep 13, 2018

I'd like the appear & disappear animation to be quite a bit faster.

How can I achieve this?

I'd want something like 160ms.

@romainberger
Copy link
Owner

There is a tooltipTimeout prop to control that: https://github.com/romainberger/react-portal-tooltip#props

@ndelangen
Copy link
Author

Yes, thank for the help @romainberger, I've read the docs.

Seems like that prop is only for removing or lengthening the delay when removing the tooltip

I've set it to 0, but the animation is still taking half a second.

@romainberger
Copy link
Owner

oh you're right, my bad. For this there's no way to customize it for now, but it could be added as a prop.

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

2 participants