vonovak / react-native-add-calendar-event

Create, view or edit events in react native using the standard iOS / Android dialogs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[iOS: iPad]: `presentEventCreatingDialog` does not return `CancelAction` correctly

johannessachse opened this issue · comments

Reproduce:

  1. Call and await presentEventCreatingDialog
  2. Library opens calendar-dialog
  3. The user clicks outside of the dialog in order to close the dialog
  4. No result from presentEventCreatingDialog is returned

Expected behavior:

  • presentEventCreatingDialog returns CancelAction instead of nothing

Further information:

  • When closing the dialog via "abort" or "add" button everything works fine
  • The issue only happens on iPad (not on iPhone)

Environment
Version: 5.0.0
Device: iPad, iOS 17.0