[bug]: AnimatedComponent
incorrectly interprets className
prop as class-name
attribute
#2291
Closed
1 of 5 tasks
Labels
template: bug
This issue might be a bug
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?
<animated.div className={springValue} />
only updatesclassName
each React render. When thespringValue
updates, then aclass-name
attribute is updated instead ofclassName
.To Reproduce
Pass a
FluidValue
className
to anAnimatedComponent
.Expected Behaviour
className
should be updated, notclass-name
.Link to repo
https://codesandbox.io/p/sandbox/dawn-platform-vclx4j
The text was updated successfully, but these errors were encountered: