keske / react-native-easy-gestures

React Native Gestures. Support: Drag, Scale and Rotate a Component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scalable and Rotatable don't work in Modal

allysonfield opened this issue · comments

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

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

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 😂