Giter Site home page Giter Site logo

Vertical about react-native-awesome-slider HOT 7 CLOSED

alantoa avatar alantoa commented on May 25, 2024
Vertical

from react-native-awesome-slider.

Comments (7)

alantoa avatar alantoa commented on May 25, 2024

Ye, @maartenvandillen I need a moment, wait for me.

from react-native-awesome-slider.

alantoa avatar alantoa commented on May 25, 2024

I think you can use style to vertical. @maartenvandillen
Example code:

 <Slider style={[
      styles.container,
      {
        transform: [
          {
            rotate: '90deg',
          },
        ],
      },
    ]}
    progress={progress5}
    minimumValue={min}
    maximumValue={max}
    minimumTrackTintColor="#FFAB76"
    maximumTrackTintColor="#FFEEAD"
  />

from react-native-awesome-slider.

maartenvandillen avatar maartenvandillen commented on May 25, 2024

transforms are only visual. Does that work ok with the gesture handler?

from react-native-awesome-slider.

alantoa avatar alantoa commented on May 25, 2024

It's ok, I tried, but you may need to adjust the position.
截屏2022-02-12 上午12 58 08

from react-native-awesome-slider.

maartenvandillen avatar maartenvandillen commented on May 25, 2024

Thanks for looking into this. I just realised I need to upgrade to reanimated v2 and use the Hermes engine on Android. Are those two ready for production? My last experience with Hermes was a SIGFAULT error on app startup so I stayed clear from it for a while.

from react-native-awesome-slider.

alantoa avatar alantoa commented on May 25, 2024

Yes, I‘ve been using Hermes since react-native 0.64+, hermes engine is awesome. If you encounter any problems using Hermes there are solutions.

from react-native-awesome-slider.

alantoa avatar alantoa commented on May 25, 2024

Hi, @maartenvandillen If there is no problem, I will close this Issue, thank you!

from react-native-awesome-slider.

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.