For Modal's backdrop, would backdrop-filter
be more performant?
#14
Replies: 2 comments 1 reply
-
Hey @tinymachine, thanks for submitting this idea and thank you for helping out with improving the Accessible Astro Components (also with the issues you submitted) 😊 It's true that there can be a performance cost the way this is build, but the filter is only applied to direct |
Beta Was this translation helpful? Give feedback.
-
I wasn't aware Firefox still doesn't support it -- thanks for letting me know! |
Beta Was this translation helpful? Give feedback.
-
For the Modal component, I wonder if using
backdrop-filter
on the.modal
element could be more performant than applying afilter
to every element besides the modal?accessible-astro-components/Modal.astro
Lines 108 to 110 in 8d60a87
Beta Was this translation helpful? Give feedback.
All reactions