vinzscam/react-native-file-viewer

Fileview.close()

my-name-is-nheo opened this issue · 1 comments

Is there a way we can trigger the close button on iOS when doing a swipe? Seems like android is behaving as expected, but not so on IOS

It would be nice to have an option to programmatically dismiss the Quicklook overlay. If the API needs to be backwards compatible, then one way to do it would be to enable using AbortController API and to provide a signal option to the .open() function in a similar fashion that Fetch API works in JS.