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
I have an SvgView that is being super-imposed over a View, but the view has variable width and height. On iOS, I had no problem specifying <Svg style={{ position: 'absolute', top: 0, bottom: 0, left: 0, right: 0 }}> ... </Svg>, but on Android, I get the following error:
Is this some sort of restriction on android, or a bug?
The text was updated successfully, but these errors were encountered:
E/unknown:ReactNative: Exception in native call
java.lang.IllegalStateException: SurfaceView should have explicit width and height set
at com.horcrux.svg.SvgViewManager$1.measure(SvgViewManager.java:39)
I have an SvgView that is being super-imposed over a View, but the view has variable width and height. On iOS, I had no problem specifying
<Svg style={{ position: 'absolute', top: 0, bottom: 0, left: 0, right: 0 }}> ... </Svg>
, but on Android, I get the following error:Is this some sort of restriction on android, or a bug?
The text was updated successfully, but these errors were encountered: