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?https://github.com/markteekman/accessible-astro-components/blob/8d60a87a5e409cd54057033c54338ba447b8d0a1/Modal.astro#L108-L110
Beta Was this translation helpful? Give feedback.
All reactions