Coder Social home page Coder Social logo

react-native-steve's People

Contributors

braincore avatar tsdmrfth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-steve's Issues

Cannot scroll on android

Great library! I'm able to get it to work on iOS, But on android even after I followed all instructions from react-native-animated 2, I only able to render but not able to scroll

Ignore vertical panning

I'm testing this with a ScrollView. It's not possible to scroll vertically when swiping on this component as the PanGestureHandler captures it. An improvement would be for this component to only capture horizontal panning, but not vertical.

Decrease reanimated requirement to 2.x

I've been using a fork where I modified the reanimated dependency specification to ^2 to satisfy another dependency that currently only works for reanimated 2.0. Seems to work without a hitch so I suggest making the peer dependency more liberal.

How to make it work for RTL?

Really very good component, I've used this component in one of my apps but don't know how to make it work for RTL? any reference and help would be highly appreciated. Thank you so much.

Cannot read property 'layout' of undefined

Don't have a reproduction for you, but I've observed when updating data, the following error:

TypeError Cannot read property 'layout' of undefined
This error is located at:
    in Item (at Steve.js:107)
    in Items (at Steve.js:200)
    in RCTView (at View.js:32)
    in View (at createAnimatedComponent.js:448)
    in AnimatedComponent(View) (at createAnimatedComponent.js:459)
    in AnimatedComponentWrapper (at Steve.js:199)
    in RCTView (at View.js:32)
    in View (at createAnimatedComponent.js:448)
    in AnimatedComponent(View) (at createAnimatedComponent.js:459)
    in AnimatedComponentWrapper (at Steve.js:198)
    in PanGestureHandler (at Steve.js:195)

I've also noticed that layout recalculation isn't performed when updating data (items may overlap each other). The library should support data updates, or at a minimum warn users.

RTL code breaks layouts with fewer than two items

That's at least my guess. Here's the likely offending line:

                    const firstKey = keyExtractor(data[firstIndex], firstIndex)
                    const secondKey = keyExtractor(data[secondIndex], secondIndex)

The assumption is that the 1 index (whether firstIndex or secondIndex depending on RTL) is valid, which isn't necessarily the case.

Stop scroll on finger down

If you begin an inertial scroll but place finger down to stop it, it will not stop. It only stops if you actually move your finger.

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.