ImagePicker doesn't trigger "cancelled" if i close the modal by drag.

  1. SDK Version:42
  2. Platforms(Android/iOS/web/all):iOS 15

image

If we close the image library by drag we can’t detect that.

Hey @mixradu, thanks for bringing this to our attention. I relayed this internally. To be honest, I’m not positive on what the expected behavior is when the user dismisses the modal via a gesture so I’m going to refrain from asking you to open up a github issue for this until we get some more clarity.

Cheers,
Adam

Hey @mixradu, got an update. We actually have a PR containing a fix already in the works [ENG-2679][image-picker] Fix unresolved promise when dismissed on iOS by barthap · Pull Request #15511 · expo/expo · GitHub but it has been shipped yet.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.