Fix region sizing on web

This commit is contained in:
Paul Frazee 2023-02-24 10:10:21 -06:00
parent 3e19728618
commit fa115c1cba
14 changed files with 25 additions and 16 deletions

View file

@ -52,7 +52,7 @@ export const WebShell: React.FC = observer(() => {
{screenRenderDesc.screens.map(({Com, navIdx, params, key, current}) => (
<View
key={key}
style={[s.h100pct, current ? styles.visible : styles.hidden]}>
style={[s.hContentRegion, current ? styles.visible : styles.hidden]}>
<ErrorBoundary>
<Com params={params} navIdx={navIdx} visible={current} />
</ErrorBoundary>