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

Bad scrolling on android 9 #22938

Closed
esmat-nawahda opened this issue Jan 10, 2019 · 37 comments
Closed

Bad scrolling on android 9 #22938

esmat-nawahda opened this issue Jan 10, 2019 · 37 comments
Labels
Bug Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@esmat-nawahda
Copy link

esmat-nawahda commented Jan 10, 2019

Environment:
OS: Windows 10
Node: 8.11.2
Yarn: 1.9.4
npm: 6.4.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4907809

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: ^0.54.0 => 0.54.4

Description

When trying to scroll up fast, the view starts scrolling in the opposite direction. (this is happening on Android 9 only and after releasing the finger)

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@esmat-nawahda
Copy link
Author

Updated

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.

The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@ghost
Copy link

ghost commented Jan 10, 2019

It does exist with 0.57

@ghost
Copy link

ghost commented Jan 10, 2019

React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 2.32 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/opt/node@10/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/opt/node@10/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 26, 27
Build Tools: 27.0.3, 28.0.0, 28.0.2, 28.0.3
System Images: android-23 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.1 => 16.6.1
react-native: 0.57.5 => 0.57.5
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

@gsunsnackv
Copy link

@esmatptr @felixus95 When I have a few images the scroll is extremely choppy (ScrollView or FlatList), are you experiencing this? Also Android 9.0 only #22744

@avalko
Copy link

avalko commented Jan 25, 2019

I ran into the same problem on Android 9 ....
Any idea how to deal with this?

@ghost
Copy link

ghost commented Jan 25, 2019

RN 58 is said to resolve this issue. Fresh out the oven ;)

@avalko
Copy link

avalko commented Jan 25, 2019

@felixus95 , I switch to https://github.com/Flipkart/recyclerlistview and that helps

on my oneplus with android 9 all the components (react FlatList, ScrollView, react-native-gesture-handler FlatList, recyclerlistview...) that i tried to behave like this...

@avalko
Copy link

avalko commented Jan 25, 2019

RN 58 is said to resolve this issue. Fresh out the oven ;)

No, everything is still sad....

@gsunsnackv
Copy link

@felixus95 , I switch to https://github.com/Flipkart/recyclerlistview and that helps

on my oneplus with android 9 all the components (react FlatList, ScrollView, react-native-gesture-handler FlatList, recyclerlistview...) that i tried to behave like this...

I was wrong :( It helped with the performance problem, not this specific problem

@xgAnd
Copy link

xgAnd commented Feb 27, 2019

#22925 in this I see the author say upgrade the react-native version is not fixed how to deal this .some experience?

@Elf2707
Copy link

Elf2707 commented Mar 18, 2019

Have the same issue. I tried to use ReactScrollView.java (unfortunately can't update rn), but it didn't help.

@kabus202
Copy link

any updates on this? still exist in 59.8

@meghaptg
Copy link

any leads?

@rickhanlonii
Copy link
Member

@kabus202 @meghaptg if you could post a reproduction repo with clear steps to reproduce it will be more likely that someone can look into it and give an update

@fangasvsass
Copy link

@kabus202 Did u fixed it ,0.59.10 still exist

@kabus202
Copy link

@fangasvsass I'm still using 56.1 and it's working without any problems. Which android version/phone etc.. do u have?

@fangasvsass
Copy link

@kabus202 which file to 0.56.1 ? or revert react native version to 0.56.1

@fukuball
Copy link

0.60.5 still exist, Android 9 only.

@HarshitMadhav
Copy link

I am using 0.61.2 version of react-native and this issue is only occurring in OnePlus 5T device.

@stale
Copy link

stale bot commented Jan 14, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 14, 2020
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 18, 2020
@r0b0t3d
Copy link

r0b0t3d commented Feb 22, 2020

I am using nexus 6P with custom ROM android 10.
When I launch my app, list works well. But when coming back from detail screen, list lost fling/momentum

bug scroll

@piousdeer
Copy link

@r0b0t3d I've hit the same problem. Were you able to solve it?

@r0b0t3d
Copy link

r0b0t3d commented Mar 29, 2020

@piousdeer Not yet, I don't have much time. you could try this #22925 (comment).

@HarshitMadhav
Copy link

I am using react native 0.62.2 v and I can confirm this bad scrolling is not resolved.

@simonxcheng
Copy link

simonxcheng commented Jun 13, 2020

The problem is still happening with React Native 0.61.0 on Android Pixel 2XL (Android 10), Moto 4G (Android 7), etc. The good news is it is NOT happening on Samsung S8, S8 plus, Note 8, Huawei P20 Pro. I will get more phones to test it. However, it seems related to some particular phones which makes it hard to fix. @JoshuaGross @sammy-SC @Shaninnik @zertosh @mdvacca @makovkastar Do you guys have plan to fix it?

@kperreau
Copy link

kperreau commented Jul 8, 2020

@simonxcheng same problem on oneplus 5

@luckcoding
Copy link

same problem +1

@fabOnReact
Copy link
Contributor

fabOnReact commented Jul 16, 2020

After quickly browsing this thread I could not understand this issue and find a reproducible example.

https://stackoverflow.com/help/how-to-ask

would be beneficial closing the thread in favour of a newer issue with a clear explanation, title and reproducible example

@IoanaBdn
Copy link

Any update on this issue?

@devscipline
Copy link

Still having the same issue on Android 9 with RN 0.64.3

@vimal2705
Copy link

hello, community,
I faced the same issue while developing on Motorola device android version 9
as the app starts home screen scroll works buttery smooth but as I navigate to another screen and come back to the same home screen scroll gets stuck alternatively and
** then I caught something which solved my issue **

  1. the scroll in the second screen which I navigate I make that whole screen scroll horizontal
  2. just after that I not faced it again on my home screen

@wintersprouter
Copy link

wintersprouter commented Sep 27, 2022

still have same issue with RN 0.64.2

@Bej-Technologies
Copy link

Same issue here, happens on a Samsung A33

@github-actions
Copy link

github-actions bot commented Jun 7, 2023

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 7, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests