react-native-amazing-cropper icon indicating copy to clipboard operation
react-native-amazing-cropper copied to clipboard

Doesn't work with navigators or modal

Open luco opened this issue 5 years ago • 3 comments

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?

luco avatar Dec 10 '19 17:12 luco

I will try to find a solution.

ggunti avatar Dec 17 '19 13:12 ggunti

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

keyurgarsondiya avatar Mar 14 '20 11:03 keyurgarsondiya

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

gomes042 avatar Nov 10 '20 13:11 gomes042