Open donghuiqiu opened 1 year ago
Were you able to fix the problem?
I solved by adding prop overScrollMode="never" to ScrollView, it works for me, if no work for you, try adding another prop removeClippedSubviews={true} , and react-native-webview issues have say the solution link: https://github.com/react-native-webview/react-native-webview/issues/2364
------------------ 原始邮件 ------------------ 发件人: "iou90/react-native-autoheight-webview" @.>; 发送时间: 2022年11月25日(星期五) 晚上11:15 @.>; @.**@.>; 主题: Re: [iou90/react-native-autoheight-webview] Android OS version 12 scroll to top or scroll to end will be force exit App without red error or native error (Issue #248)
Were you able to fix the problem?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I solved by adding prop overScrollMode="never" to ScrollView, it works for me, if no work for you, try adding another prop removeClippedSubviews={true} , and react-native-webview issues have say the solution link: [react-native-webview/react-native-webview#2364](https://github.com/react-native-webview/react-native-webview/issues/2364) … ------------------ 原始邮件 ------------------ 发件人: "iou90/react-native-autoheight-webview" @.>; 发送时间: 2022年11月25日(星期五) 晚上11:15 @.>; @.**@.>; 主题: Re: [iou90/react-native-autoheight-webview] Android OS version 12 scroll to top or scroll to end will be force exit App without red error or native error (Issue #248) Were you able to fix the problem? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
This worked perfectly for me! This issue it's also happening on Android 13.
Maybe you can try react-native-webview@13.6.1 with their fix: https://github.com/react-native-webview/react-native-webview/pull/2874
Bug description: when scroll to top or scroll to end is crash without any error tips , Android OS < 12 is normal
To Reproduce:
Android OS Version : 12 react-native : '0.63.3' react-native-webview: '11.23.0' eact-native-autoheight-webview:'1.6.4'
Source (static HTML or url):
Example my code:
use template
Expected behavior:
scroll to top or scroll to end will be force exit App without red error or native error
Screenshots/Videos:
Environment: