react-native-easy-gestures icon indicating copy to clipboard operation
react-native-easy-gestures copied to clipboard

Scalable and Rotatable don't work in Modal

Open allysonfield opened this issue 3 years ago • 1 comments

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

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

allysonfield avatar Sep 16 '21 23:09 allysonfield

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 😂

ManuViola77 avatar Jan 18 '22 21:01 ManuViola77