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]: Can't represent nullable values in spring #2295

Open
1 of 5 tasks
LoganDark opened this issue Jun 23, 2024 · 0 comments
Open
1 of 5 tasks

[bug]: Can't represent nullable values in spring #2295

LoganDark opened this issue Jun 23, 2024 · 0 comments
Labels
template: bug This issue might be a bug

Comments

@LoganDark
Copy link
Contributor

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?

When I set a spring to null, especially with immediate: true, I expect it to happen (undefined would also work).

To Reproduce

https://codesandbox.io/p/sandbox/lingering-fire-zr6ndd?workspaceId=80a9d860-12d9-4443-890c-a440aefb7d3c

Expected Behaviour

override spring should be set to null when override state is, but it is not.

Link to repo

https://codesandbox.io/p/sandbox/lingering-fire-zr6ndd?workspaceId=80a9d860-12d9-4443-890c-a440aefb7d3c

@LoganDark LoganDark added the template: bug This issue might be a bug label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template: bug This issue might be a bug
Projects
None yet
Development

No branches or pull requests

1 participant