ggunti / react-native-amazing-cropper

Image cropper for react native using Animated API
MIT License
144 stars 82 forks source link

Doesn't work with navigators or modal #21

Open luco opened 4 years ago

luco commented 4 years ago

When using this lib inside a navigator or modal, the footer gets hidden. I found the issue:

Cropper.component.style.js, on line 21:

footerContainer: { position: 'absolute', top: SCREEN_HEIGHT - Q, bottom: 0, width: W },

Removing the top fixes the issue. Would't be better to have an option to pass the style for the footer?

ggunti commented 4 years ago

I will try to find a solution.

keyurgarsondiya commented 4 years ago

Yes the same problem is happening with me also. @ggunti

lgxm3z commented 3 years ago

Like this repo did, it would be an alternative to include captureEvent:boolean property to fix it.

https://github.com/DuDigital/react-native-zoomable-view/commit/1ced782a123c4eed431a9eec97ed19c17e6913f9