Required animated attribute
Closed this issue · 3 comments
maxjava-dev commented
maxjava-dev commented
By the way, width="100%" doesn't work...
rnike commented
Thanks to pointing this out.
Take a quick look for the width="100%" issue, the width prop should be number for method getImageSizeFitWidth(source, width)
, but I think we can try something like
<ImageComponent onLayout={e=>setLayoutWidth(e.layout.width)} .../>
and use getImageSizeFitWidth(source, layoutWidth)
vivaxy commented
Thanks @sa1dai and @yum650350. animated
attribute is not required since v3.1.2.