Giter Site home page Giter Site logo

Comments (5)

jaysoo avatar jaysoo commented on July 29, 2024

Hi @Ehesp, this is possible. I need to take a look at the animation opacity animation.

from react-native-parallax-scroll-view.

Ehesp avatar Ehesp commented on July 29, 2024

If it's any help, we do it here:

https://github.com/react-native-material-design/react-native-material-design/blob/master/lib/IconToggle.js

So could update the "opacityValue" on scroll percentage, and just ensure the background colour behind the image is the same as the toolbar?

from react-native-parallax-scroll-view.

jaysoo avatar jaysoo commented on July 29, 2024

Oops, closed the wrong issue. Reopening.

from react-native-parallax-scroll-view.

jaysoo avatar jaysoo commented on July 29, 2024

@Ehesp I just realized the the demo is probably out of date. Here's the current version:

https://github.com/jaysoo/react-native-parallax-scroll-view/blob/master/demo.android.20160117.gif

The opacity is interpolated based on the scroll position.

Let me know if you think the values need to be tweaked, or requires customizable.

https://github.com/jaysoo/react-native-parallax-scroll-view/blob/master/src/index.js#L251-L254

from react-native-parallax-scroll-view.

jaysoo avatar jaysoo commented on July 29, 2024

Closing this issue. Feel free to reopen if anything else comes up.

from react-native-parallax-scroll-view.

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.