Giter Club home page Giter Club logo

Comments (31)

bolan9999 avatar bolan9999 commented on June 9, 2024

Sorry, I am on Chinese new year holiday last days.

This problem may occur when you use a bottoming Loading style.
You must set backgroundColor in contentStyle to cover it.

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Thank you for your response!

The loading style I use is stickyContent not bottoming and the background for contentStyle is already set

I paid attention that this happens when SpringScrollView has about 200 items and the last item has long text. This leads to calculating the position of the footer has some wrong value

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Why do you use SpringScrollView with so many items? SpringScrollView simply renders all its react child components at once. Performance issue may occur in this scene.

If you are sure, give me your code and your datasource and let me debug it.

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

I will fix the TouchableOpacity problem and release react-native-largelist Version 3

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

The problem that I cannot use large-list because it conflicts with react-navigation library.

gestureHandlerRootHOC cannot be used with react-navigation library

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Version 3 will not use react-native-gesture-handler and gestureHandlerRootHOC

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

That would be awesome! Meanwhile I need to resolve this issue before my project ends.

Will really appreciate if you can help

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

give me your code and your datasource and let me debug it.

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Here is the example. I hope it can help you
https://gist.github.com/vinhtq/15c8ebcf89d2aac15092d5e747409146

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Try this:

<SpringScrollView
    style={{ overflow: 'scroll'}}
    //other props
    >
        ...
</SpringScrollView>

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Still not working.

Checked on emulator iPhone 6, ios version 12.1

screen shot 2019-02-14 at 2 39 07 pm

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

It works on your example. I have tested it.

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

simulator screen shot - iphone 8 - 2019-02-14 at 15 45 14

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Can you check it on emulator iphone 6
screen shot 2019-02-14 at 2 44 51 pm

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

2019-02-14 3 49 41

Yes, it also works well. Maybe it is the react-native version problem, mine is 0.55.4

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Yes look like the react native version. I am using version 0.57.4

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Have you tried 0.55.4, how about it ?

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

I got some error regarding to downgrade the react native version. Need a little bit time to resolve this

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Sorry downgrade from 0.57 to .055 requires a lot of changes in the configuration. Will pm you soon

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Is there any other way to fix this issue beside downgrade react-native version?

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

I have upgraded my react-native version to 0.57.4, and there is no problem!

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

2019-02-14 5 03 05
2019-02-14 5 03 18

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Did you reset the node module cache after installing new version of react-native?
npm start --reset-cache

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Sure, I got a lot issues if I forgot this step.

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

So weird, I reset my emulator. Even init a new project but still got the issue

https://www.dropbox.com/s/owbzq34cgii4xzw/demo.7z?dl=0
Can you download this and try?

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

I have tried, and found out the bug. We use two different version. I use the master branch. And you use the 2.0.2. I will fix it soon.

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

I have released version 2.0.3 on npm. Try to update it, remember to clear watchman cache and npm cache.Then try it.
Additionally, the TouchableOpacity event firing issue has been fixed ,too.

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Thank you for you time! But we have another issue.
In version 2.0.2, when we add style: paddingBottom: 50 SpringScrollView can receive this.
screen shot 2019-02-15 at 9 35 41 am

But in version 2.0.3, SpringScrollView ignore this style.

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

Use this style on contentStyle, not style please.

from react-native-spring-scrollview.

vinhtq avatar vinhtq commented on June 9, 2024

Ok. Just remind because in previous version it works!

Thank you!

from react-native-spring-scrollview.

bolan9999 avatar bolan9999 commented on June 9, 2024

OK, I will close this issue!

from react-native-spring-scrollview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.