Closed skharpreet closed 8 years ago
+1 Or it is good if we have the hide method, so internally we can call the hide method on orientation change.
Just to be sure: this happens only when rotating the device while the actionsheet is being displayed, right?
Yeah. thats true, it happens when the orientation is changed while the action sheet is displayed.
Firstly this should be fixed but as a workaround I was thinking to close the menu when the orientation changes, but there is no close/hide method in the plugin. I am a kind of stuck at this point.
Hi, @skharpreet and @Vinoth18 please test the 1.1.4 release of this plugin, it has a working hide()
function for iOS.
Thanks @EddyVerbruggen , hide is working.
Hi, i would celebrate a working fix for the still existing issue. Currently it is possible to hide the sheet on orientation change or resize, but because it seem to work properly on android you must make a decision: Have different behavior or degrade user experience for android.
Are there any news related to this bug? Is a fix still work in progress or is it currently unfixable?
Hi @napolitano why would you degrade experience on Android if you can hide it for iOS only?
And I'm not working on a fix currently (perhaps someone else is?) as I don't have to for it atm...
Hi @EddyVerbruggen. Thank you for the surprisingly quick response. It's simply, because i prefer consistent behavior across platforms if possible ;) In this case we'll do what's suggested: Hide it on resize/orientation change only for iOS.
I can really live with the hide()-workaround, but it would be great if there will be a fix. Will see if i can do something. If yes, i will send a pull request to let you decide whether to use it or not.
That would be awesome @napolitano, in any case: good luck with your app!
The action sheet menu is not aligned in center in iPad 3 when we change the orientation from portrait to landscape or vice versa. Attached are the screen shots for reference.