react-native-add-calendar-event
react-native-add-calendar-event copied to clipboard
Opening behind WebView
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:
- 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
- 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?