Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollview nested WebView sliding will crash #34316

Closed
Lancehb opened this issue Aug 1, 2022 · 1 comment
Closed

Scrollview nested WebView sliding will crash #34316

Lancehb opened this issue Aug 1, 2022 · 1 comment

Comments

@Lancehb
Copy link

Lancehb commented Aug 1, 2022

Description

Scrollview nested WebView on Xiaomi mobile phone will crash when sliding up and down。
企业微信截图_16593251622053

Version

0.64.2,0.66.0

Output of npx react-native info

OS: Windows 10 10.0.18363
CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
Memory: 6.17 GB / 15.94 GB
Binaries:
Node: 16.14.2 - E:\Node\node.EXE
Yarn: 1.21.1 - E:\Node\yarn.CMD
npm: 6.13.7 - E:\Node\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33
Build Tools: 23.0.2, 23.0.3, 25.0.0, 25.0.2, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.2, 30.0.3
System Images: android-23 | Android TV ARM EABI v7a, android-24 | Android TV Intel x86 Atom, android-29 | Google Play Intel x86 Atom
Android NDK: 21.1.6352462
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 1.8.0_211 - E:\Java\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Add Scrollview on the interface. Webviews are nested in Scrollview, and problems will occur after sliding. At present, it only appears on Xiaomi mobile phone

Snack, code example, screenshot, or link to a repository

企业微信截图_16593248481224

@Lancehb
Copy link
Author

Lancehb commented Aug 1, 2022

http://ask.sov5.cn/q/N4N9w7cgox

Add androidhardwareaccelerationdisabled={true} on WebView, and there is no problem。

@Lancehb Lancehb closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants