Skip to content

Commit 614eaa3

Browse files
authored
fix: Block scroll-bouncing in iOS device
Blocked scroll-bouncing in WebView with iOS by just adding `bounces={webViewProps.bounces ?? false}`
1 parent 35d41b4 commit 614eaa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/YoutubeIframe.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ const YoutubeIframe = (props, ref) => {
191191
return request.mainDocumentURL === 'about:blank';
192192
}}
193193
{...webViewProps}
194+
bounces={webViewProps.bounces ?? false}
194195
/>
195196
</View>
196197
);

0 commit comments

Comments
 (0)