You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the unstyled prop it removes all the inline styles, including the background-image for the placeholders. It would be great if there was a way to still use a placeholder while removing all other inline styles.
For example I am using the picture element with multiple sources so that I can have different images and aspect ratios for all devices. For this I am using the prop: unstyled so the image does not get locked into one aspect ratio. The drawback of this is now that I cannot use placeholders anymore.
Maybe a possibility would be to make 'unstyled' into the following:
boolean | 'background' | undefined, where background will keep the inline styles for placeholders.
The text was updated successfully, but these errors were encountered:
When using the unstyled prop it removes all the inline styles, including the background-image for the placeholders. It would be great if there was a way to still use a placeholder while removing all other inline styles.
For example I am using the picture element with multiple sources so that I can have different images and aspect ratios for all devices. For this I am using the prop:
unstyled
so the image does not get locked into one aspect ratio. The drawback of this is now that I cannot use placeholders anymore.Maybe a possibility would be to make 'unstyled' into the following:
boolean | 'background' | undefined
, wherebackground
will keep the inline styles for placeholders.The text was updated successfully, but these errors were encountered: