Bug description:
I have a use case where I need to render multiple AutoHeightWebViewcomponents within a single screen.
But while doing so, I realized only the last component is getting rendered.
If I pass height manually to the parent View component, I'm able to see the contents, but that defeats the purpose of this library for me. I've tried setting flex:1, alignItems: 'stretch' in both, parent View component and AutoHeightWebView but nothing seems to work if I don't set the height manually
Bug description: I have a use case where I need to render multiple
AutoHeightWebView
components within a single screen. But while doing so, I realized only the last component is getting rendered. If I passheight
manually to the parentView
component, I'm able to see the contents, but that defeats the purpose of this library for me. I've tried settingflex:1, alignItems: 'stretch'
in both, parentView
component andAutoHeightWebView
but nothing seems to work if I don't set the height manuallyTo Reproduce:
<View style={{padding: 1}}> <AutoHeightWebView style={{width: 85*vw,alignItems:'stretch',}} source={{ html: html }} zoomable={false} /> </View>
<View style={{padding: 1}}> <AutoHeightWebView style={{width: 85*vw,alignItems:'stretch'}} source={{ html: html }} zoomable={false} /> </View>
Source (static HTML or url): static HTML
Expected behavior:
Screenshots/Videos:
Environment: