issue on ios10 using the plugin on a native modal view
rafaeluzzi opened this issue · comments
First thanks for the awesome plugin.
Im having a problem when I use this plugin on a native modal view(im using appgyver steroids), actionsheet loads fine but when any button is pressed it just close the modal view. It works fine on webviews this issue is just happening on modal views and it was working fine on the previous version.
Any ideas?
No idea really. I swapped implementations to a more modern framework (since version 2.3.1) but dismissing the actionsheet is done in a similar manner.
Is this reproducible without Appgyver?
can't reproduce without appgyver as steroids is the one providing the native modal view, seems like the dismissal method is also dismissing the parent view when this view is a modal view. Or just crashing the view because it closes without animation.
I ran into the same error when using an action sheet in a modal with Appgyver. I got around the issue by displaying the view using supersonic.ui.layers.push()
.
Not sure if it's related or not... On iOS10 when user dismisses an actionsheet via tapping on a dark screen background (on iPad at least), the plugin stops working. Next show() calls do not work anymore.
@chemerisuk I'm having the same problem. It crashes the app tapping outside. Also, callback buttons not even firing, after next show, it doesn't work anymore.
Tried again with a host of sims and devices (iPad and iPhone) and everything was fine with my vanilla Cordova CLI testapp.
Closing this, but if one of you is able to come up with a very simple vanilla testcase then please reopen and link to the download.