GithubHelp home page GithubHelp logo

react-native-reanimated-flip's People

Contributors

czystyl avatar dkmiecik avatar karthik-b-06 avatar knowbody avatar pzatorski 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

Watchers

 avatar  avatar  avatar  avatar

react-native-reanimated-flip's Issues

TypeError on usage

Reanimated is configured properly and already used in other parts of the app.

The error I am getting is the following:

TypeError: _reactNativeReanimated.default.interpolate is not a function. (In '_reactNativeReanimated.default.interpolate(side, [0, 1], [180, 360])', '_reactNativeReanimated.default.interpolate' is undefined)

This error is located at:
    in ReanimatedFlip (at memory.tsx:19)
    in MemoryImage (at memory.tsx:62)
    in RCTView (at View.js:32)
Package  Version
react-native 0.67.3
react-native-flip 0.2.2
react-native-reanimated 2.9.1

android issue related property zIndex of style

in your style:

const styles = StyleSheet.create({
  container: {
    justifyContent: "center",
    alignItems: "center",
  },
  side: {
    width: "100%",
    height: "100%",
    position: "absolute",
  },
  front: {
    zIndex: 2,
  },
  back: {
    zIndex: 1,
  },
})

the property "zIndex" affects the client code if the back card has a button. it can't handle the click on the back of the card. if I have a button on the front card, it works fine. iOS works fine. if I delete next code with your package, it works fine for android (it handle click of a button on the back card)

 front: {
    zIndex: 2,
  },
  back: {
    zIndex: 1,
  },

if there a reason to keep these zIndex properties or maybe I can control this style from my client code?

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.