tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

CSS functions in inline CSS don't work with Svelte string templates #244

Closed TheOnlyTails closed 3 years ago

TheOnlyTails commented 3 years ago

I have this attribute in my component:

<div style="transform: translateY({Math.floor(scrollY / -10)}px)">

However, this error appears when inserting the braces in the function: image

tomblachut commented 3 years ago

Duplicate of #80