Closed tomekzaw closed 4 months ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Add commas (,
) between HSL components.
const animatedStyle = useAnimatedStyle(() => {
return {
- backgroundColor: `hsl(${sv.value * 180} 100% 50%)`,
+ backgroundColor: `hsl(${sv.value * 180}, 100%, 50%)`,
};
});
``
Description
When using
hsl(x y% z%)
syntax for background color in animated style, the color is not updated.Steps to reproduce
Snack or a link to a repository
nope
Reanimated version
3.7.1
React Native version
0.73.4
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
iPhone 15 Pro
Acknowledgements
Yes