Feliz icon indicating copy to clipboard operation
Feliz copied to clipboard

Filter: Blur doesn't work

Open lukaszkrzywizna opened this issue 1 year ago • 2 comments

According to documentation https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/blur Filter's blur accepts three units: px, rem, or none (for 0).

Feliz's Style module expects to put:

  • int for a percentage value from 0 to 100
  • double as a floating number from 0 to 1

Using any of those doesn't work. However, using custom style works:

style.custom("filter", "blur(2px)")

I guess those functions should be replaced with a new one using an ICssUnit or something similar.

lukaszkrzywizna avatar Mar 10 '23 21:03 lukaszkrzywizna