Rotating cuts the webView
Closed this issue · 1 comments
ocano12 commented
When you rotate from portrait to landscape the rotation cuts the webview and only the top 1/4 of the signature pad is visible.
Any recommendation on how to resize the actual canvas to fit landscape on rotation?
thanks!
react native .60
<View style={ styles.base}>
<SignaturePad
onError={ props.onError }
onChange={ props.onChange }
style={{backgroundColor: 'white', flex:1}}
/>
;
nray621 commented
Seeing the same issue. flex: 1
doesn't seem to be recalculated for the WebView
sizing on orientation / layout change