keske / react-native-easy-gestures

React Native Gestures. Support: Drag, Scale and Rotate a Component.
MIT License
173 stars 61 forks source link

Scalable and Rotatable don't work in Modal #71

Open allysonfield opened 2 years ago

allysonfield commented 2 years ago

  const styles = StyleSheet.create({
  container: {
    position: 'absolute',
  },
});

   <Gestures
      style={styles.container}
      rotate="10deg"
      scalable
      rotatable
      onChange={(event, styles) => {
        console.log(styles);
      }}
    >

      {children}
    </Gestures>
ManuViola77 commented 2 years ago

Thanks!!! I was trying to figure out why it didn't work and this is the answer, I had it on a modal! Now I want a solution too 😂