React-joyride: Disable the tooltip animation (V2)

Created on 15 May 2018  路  4Comments  路  Source: gilbarbara/react-joyride

Thanks for your work with this lib, espacialy the v2 馃憤

Versions

The issue

When entering, tooltips are having an animation (fadeIn + slide from left to right).

I'm looking for a way to disable any kind of animation.

What I tried

I tried to pass the following props:

<Joyride tooltipOptions={{ disableAnimation: true }} />

Without any visible results.

Conclusion

Is that the right prop to use for this? If not, would it be possible to add a props to disable the animation I'm talking about?

All 4 comments

Ah.... It seems that the tooltipOptions props has been replaced by floaterProps (https://github.com/gilbarbara/react-joyride/issues/331#issuecomment-379408188).

Looks like the sliding animation is disabled now. The remaining opacity transition has to be disabled via the styles props.

The old props name is still in this documentation page :)

Yeah, sorry about that.
I've updated the docs.

Thanks!

PS. Doc is fixed on master, but to yet on v2 ;)

branch removed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

msalsas picture msalsas  路  3Comments

leantide picture leantide  路  5Comments

sarates picture sarates  路  6Comments

yaskor picture yaskor  路  6Comments

willgriff0826 picture willgriff0826  路  6Comments