diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 628b982cf..6451ba9a7 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -781,4 +781,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 9c48318ea254e2c78005a7a0c2d8bfc14ddd783d -COCOAPODS: 1.10.1 +COCOAPODS: 1.11.2 diff --git a/src/components/postHtmlRenderer/postHtmlRenderer.tsx b/src/components/postHtmlRenderer/postHtmlRenderer.tsx index 9f30fcda0..f1a13c4c9 100644 --- a/src/components/postHtmlRenderer/postHtmlRenderer.tsx +++ b/src/components/postHtmlRenderer/postHtmlRenderer.tsx @@ -138,9 +138,7 @@ export const PostHtmlRenderer = memo( //process video link if(tnode.classes?.indexOf('markdown-video-link') >= 0){ - //TODO: remove android check when fix for react-native-weview scroll crash is available - //ref: https://github.com/react-native-webview/react-native-webview/issues/2364 - if(isComment || Platform.OS === 'android'){ + if(isComment){ const imgElement = tnode.children.find((child) => { return child.classes.indexOf('video-thumbnail') > 0 ? true : false; }); @@ -227,9 +225,7 @@ export const PostHtmlRenderer = memo( const _iframeRenderer = function IframeRenderer(props) { const iframeProps = useHtmlIframeProps(props); - //TODO: remove android check logic when fix for react-native-webiew scrollview crash is available - //ref: https://github.com/react-native-webview/react-native-webview/issues/2364 - if(isComment || Platform.OS === 'android'){ + if(isComment){ const _onPress = () => { console.log('iframe thumb Pressed:', iframeProps); if (handleVideoPress) { diff --git a/src/components/postView/view/postDisplayView.js b/src/components/postView/view/postDisplayView.js index 2898fc836..60dc07ed6 100644 --- a/src/components/postView/view/postDisplayView.js +++ b/src/components/postView/view/postDisplayView.js @@ -206,6 +206,7 @@ const PostDisplayView = ({ contentContainerStyle={styles.scrollContent} onScroll={(event) => _handleOnScroll(event)} scrollEventThrottle={16} + overScrollMode="never" refreshControl={} > {parentPost && }