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

[bug]: Incorrect tooltips in useTransition docs #2232

Open
1 of 5 tasks
dibenso opened this issue Dec 14, 2023 · 1 comment
Open
1 of 5 tasks

[bug]: Incorrect tooltips in useTransition docs #2232

dibenso opened this issue Dec 14, 2023 · 1 comment
Labels

Comments

@dibenso
Copy link
Contributor

dibenso commented Dec 14, 2023

Which react-spring target are you using?

  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog

What version of react-spring are you using?

9.7.3

What's Wrong?

Browsing the docs for useTransition on https://www.react-spring.dev/docs/components/use-transition shows the incorrect tooltip content for the following props:

  • enter
  • update
  • leave

The tooltip content for these props show The to prop, is very versatile, for more information checkout out Async Animations.

image

To Reproduce

Check the References section in the useTransition docs and activate the tooltips for:

  • enter
  • update
  • leave

They display incorrect information about each prop.

Expected Behaviour

The tooltip should show information relevant to what each prop does, instead of the to prop for all of them.

Link to repo

https://www.react-spring.dev/docs/components/use-transition#reference

@dibenso dibenso added the template: bug This issue might be a bug label Dec 14, 2023
@joshuaellis
Copy link
Member

Feel free to make a PR! 😊

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

No branches or pull requests

2 participants