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

Cannot scroll smoothly on a page with a lot images (Android 9.0 only, fine for 8.x, 7.x) #3036

Closed
gsunsnackv opened this issue Dec 21, 2018 · 3 comments

Comments

@gsunsnackv
Copy link

gsunsnackv commented Dec 21, 2018

Environment

Expo CLI 2.6.14 environment info:
System:
OS: macOS 10.14.2
Shell: 4.4.23 - /usr/local/bin/bash
Binaries:
Node: 11.4.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.npm-packages/bin/npm
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5056338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
expo: ^31.0.2 => 31.0.6
react: 16.5.0 => 16.5.0
react-native: https://github.com/expo/react-native/archive/sdk-31.0.0.tar.gz => 0.57.1
npmGlobalPackages:
expo-cli: 2.6.14

Android 9.0 , (Pie), API 28

Steps to Reproduce

For a page with one video and 100+ images, everything works fine on android 8.x and 7.x , but video cannot play smoothly on android 9.0

(Write your steps here:)

  1. expo init
  2. Choose blank project
  3. Edit App.js .
  4. Change View to ScrollView
  5. Add 100 different images under the for example https://github.com/gsunsnackv/expo-video-stutter-on-android-9.0/blob/master/App.js
  6. yarn start (this opens the expo page)
  7. Open an Android emulator with Android 9.0 (Pie) installed
  8. Click 'Run on Android device/emulator' on the expo page

Expected Behavior

Expect to scroll smoothly

Actual Behavior

Cannot scroll smoothly

Reproducible Demo

https://github.com/gsunsnackv/android-9.0-expo-scroll-bug

Notes

Audio is fine. And on Android 8.x and 7.x, everything is fine. Same issue on actual device

@gsunsnackv
Copy link
Author

It seems that I can reproduce this directly on react-native without Expo at all. 😞

@ide
Copy link
Member

ide commented Dec 21, 2018

This is probably a better issue to open on the React Native repo then (a Snack is helpful to show the issue there, too). Closing out.

@ide ide closed this as completed Dec 21, 2018
@gsunsnackv
Copy link
Author

I did. facebook/react-native#22744

@lock lock bot added the outdated label Jun 20, 2019
@lock lock bot locked and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants