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

Opening behind WebView

gfpacheco opened this issue · comments

I have a WebView opened and I'm listening for data:text/calendar... link clicks.

Whenever the WebView tries to navigate to one of them (which doesn't work in my case) I prevent that and call presentEventCreatingDialog, but the first time I click it seems that your view is getting behind the WebView, only if the user press the link twice is that your view shows up properly.

I say that it is behind the WebView for two reasons:

  1. When the second view is open and I'm done adding to the calendar (or cancel the action) I can see the first view while the second is animating down, then it disappears again
  2. When I close the WebView the first view is behind it

Any idea why this is happening and why calling presentEventCreatingDialog twice would make it show up?