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

Scroll view not bouncing back to proper position in LargeList V2 #211

Closed
preethi-pnrao opened this issue Nov 28, 2018 · 10 comments
Closed

Comments

@preethi-pnrao
Copy link

Hi,

I have been using the LargeList v2 for quite some time, Amazing performance plus bounce animation on android is added benefit.

I just found one issue mainly on my android device(Samsung s8)
I have large list of data(more than 100 entry), when I scroll up and down the LargeList shifts its position leaving behind quite big space from top and hiding some rows in the bottom, this issue is preventing me from using this library. I tried disabling bounce still facing same issue. I could see same issue on the sample app given. It would be of great help if I get any inputs or alternatives from your side.

Reference for empty space at the top of the list

vizmato_video_5

Reference for hiding some rows at the bottom(bouncing back to wrong position)

vizmato_video_6

Regards
Preethi

@ATShiTou
Copy link
Collaborator

This issue does exist on LargeList . It is mainly manifested on Android simulator. And it is much better on real Android Devices. I have never had this issue on iOS.

This issue often occurred when JavaScript thread is stuck. I want to make VerticalScrollView native, but no one helps me build Android native module.

You can use NativeLargeList instead now.

@preethi-pnrao
Copy link
Author

Hey I am android native developer, I can help you on this , let me know what am I supposed to do(though I have never connected react-native with android native module), so far this I found this largelist the best , so I would definitely like to help you on this.

@preethi-pnrao
Copy link
Author

And also this issue occurs more often if the renderItem (row object) is heavy if the component has many views in it, this issue occurs more often

@ATShiTou
Copy link
Collaborator

I want an iOS style ScrollView include:

1. bouncing(pulling to refresh and loading more)
2. native onScroll event, same as ScrollView in react-native
3. both horizontal and vertical scroll
4. zoom scale with two fingers gesture.
5. more natural deceleration
6. more accurate events
7. scrollsToTop
8. initialized offset
9. scrollTo
10. resolve keyboard avoiding

@datner
Copy link

datner commented Dec 5, 2018

@preethi-pnrao Please be the hero we need! Are you working on that?

@ATShiTou
Copy link
Collaborator

ATShiTou commented Dec 6, 2018

You can be the hero ,too! @datner

To be or not to be , that is the question!

@datner
Copy link

datner commented Dec 7, 2018

@ATShiTou I am not confident enough in java but I like the attitude! <3

@ATShiTou
Copy link
Collaborator

I had did an Android native SpringScrollView. It is on the V2 branch of react-native-spring-scrollview

If you are free ,you can clone and test it. @datner @preethi-pnrao

@ATShiTou
Copy link
Collaborator

I will support iOS soon

@bolan9999
Copy link
Owner

React-native-largelist V3 has been published, this problem has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants