ui icon indicating copy to clipboard operation
ui copied to clipboard

Lightbox: The prop 'onRequestClose' is marked required in the 'Modal'

Open brandon-dewitt opened this issue 9 years ago • 3 comments

Looks like this was fixed in the react-native-lightbox module. Can the change be pulled into your fork?

https://github.com/oblador/react-native-lightbox/commit/c84a8543d4511fe6a44c3d7820747c9c1bddd875

brandon-dewitt avatar Jan 23 '17 22:01 brandon-dewitt

@brandon-dewitt Thank you for submitting the issue and sorry for a late response. We're currently working on fixing the majority of the issues and we will release a new version of @shoutem/ui hopefully next week with the fix included.

rsekulic1 avatar Feb 08 '17 10:02 rsekulic1

There is a pr here https://github.com/oblador/react-native-lightbox/pull/52 since september 2016... Seems that the repo is dead...

To temporary fix the warning you can manually add onRequestClose={() => null} on line 218 in LightboxOverlay.js (issue https://github.com/oblador/react-native-lightbox/issues/46)

martinezguillaume avatar Feb 10 '17 14:02 martinezguillaume

@rsekulic1 thanks!

brandon-dewitt avatar Feb 15 '17 19:02 brandon-dewitt