Skip to content

Commit 58393c1

Browse files
committed
Attempt to fix webview bugs
1 parent 2e0b125 commit 58393c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/_layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default function RootLayout() {
147147
options={{
148148
title: '',
149149
headerTitleStyle: { color: colors.text },
150-
headerTransparent: true,
150+
// headerTransparent: true,
151151
headerBackButtonDisplayMode: 'minimal',
152152
}}
153153
/>

screens/StoryScreen.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ export default function StoryScreen() {
511511

512512
return (
513513
<Container {...containerProps}>
514+
<Stack.Header transparent={tabView === 'comments'} />
514515
{!isPreview && (
515516
<Stack.Toolbar placement="right">
516517
{tabView === 'web' ? (
@@ -645,7 +646,6 @@ export default function StoryScreen() {
645646
{webMounted && (
646647
<WebView
647648
ref={webViewRef}
648-
style={{ backgroundColor: colors.background }}
649649
applicationNameForUserAgent={`${Application.applicationName}/${Application.nativeApplicationVersion}`}
650650
source={{ uri: url }}
651651
originWhitelist={[

0 commit comments

Comments
 (0)