Is your feature request related to a problem? Please describe.
I need to set some unsupported properties on an <Image /> such as background-blend-mode and related values. It seems that any styles passed in aren't actually applied to the <View /> that renders the image, but a parent of it, so I see no clear way to do this with the current API.
Describe a solution you'd like
I'm not entirely sure of the best solution for this, other than perhaps explicitly supporting background-blend-mode as a style? However, in my use case I need it to be accompanied by opacity and backgroundColor, which are supported in the parent <View />, but are not useful to me there (as far as I can tell, but I'm not so experienced with CSS).
Describe alternatives you've considered
In the meantime, I've solved my problem by patch-packageing RNW:
Is your feature request related to a problem? Please describe.
I need to set some unsupported properties on an
<Image />
such asbackground-blend-mode
and related values. It seems that any styles passed in aren't actually applied to the<View />
that renders the image, but a parent of it, so I see no clear way to do this with the current API.Describe a solution you'd like
I'm not entirely sure of the best solution for this, other than perhaps explicitly supporting
background-blend-mode
as a style? However, in my use case I need it to be accompanied byopacity
andbackgroundColor
, which are supported in the parent<View />
, but are not useful to me there (as far as I can tell, but I'm not so experienced with CSS).Describe alternatives you've considered
In the meantime, I've solved my problem by
patch-package
ing RNW:So I can then do (inlined styles for this example):
Additional context
Thanks!