Facepunch / sbox-issues

176 stars 12 forks source link

CSS Transitions Don't Work With `box-shadow` #4679

Closed Willco2 closed 5 months ago

Willco2 commented 8 months ago

Describe the bug

box-shadow isn't affected by a transitions

To Reproduce

Put box-shadow on an element with transition: all ... or transition: box-shadow ... and cause the box-shadow to change. It modifies instantly instead of going with the transition.

Expected behavior

box-shadow should follow transitions.

Media/Files

Browser: https://github.com/Facepunch/sbox-issues/assets/33941498/4fe76b40-a380-4fdc-b4a8-a8e669299cbc

s&box: https://github.com/Facepunch/sbox-issues/assets/33941498/c567e5cb-675a-47e9-bac7-b92198fb48e1

Additional context

No response

xezno commented 5 months ago

Should be fixed on next update