Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

[Bug] Unitless CSS Variables when value is same as previous #179

Open
bwyx opened this issue Mar 13, 2023 · 0 comments
Open

[Bug] Unitless CSS Variables when value is same as previous #179

bwyx opened this issue Mar 13, 2023 · 0 comments
Labels
Bug Bug report

Comments

@bwyx
Copy link

bwyx commented Mar 13, 2023

1. Describe the bug

I animated CSS variables, but there was a glitch when the animation ended with the value provided same as previous.

the CSS value becomes unitless

2. IMPORTANT: Provide a CodeSandbox reproduction of the bug

I created this codesandbox: https://codesandbox.io/s/unitless-css-variables-lufo4d

3. Steps to reproduce

Steps to reproduce the behavior:

  1. Go to codesandbox
  2. move cursor inside preview to trigger animation,
  3. try not to change some axis, wait for the animation to end
  4. See behavior

4. Expected behavior

animated CSS variables provided as is when the animation end

5. Video or screenshots

recording_2023-03-13T20.43.07.101977033+07.00.mp4

6. Browser details

Chromium 109.0.5414.74 (Official Build) Arch Linux (64-bit)

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

No branches or pull requests

1 participant