I know Overlays currently are just Views layered on top of everything else, but they provide value that Modals just can't. Here's a list of improvements that would be very welcome:
static get options()
inside an Overlay component, for example to change the StatusBar styleNavigation.showModal
inside an Overlay crashes the appNavigation.showOverlay
right after a notification tap (initialization) crashes the appI believe changing status bar options already works on Android. I static options are supported on iOS and it's just a matter of applying statusBar options, but I could be wrong :)
Could you please mention on which platform the bugs are reproducing?
Whoops, sorry. iOS.
Just tested on version 2.0.2306; setting the following does not do anything when opened as an Overlay on iOS:
static get options() {
return {
statusBar: {
style: 'light'
}
};
}
In my case, calling showModal in didn't crashed the app but overlay disappeared instantly. I think overlays are so dominant (i don't know how to say it exactly lol 馃槀 ). I mean, as @Dexwell said, overlays are on top of everything. I think they might belong to the screens itself or at least there should be a option about that
Perhaps Overlays should be treated like see-through (non-animated) modals?
@Dexwell yup this is what is think. I don't know maybe I'm missing the point :D
Most of my issues are resolved by using modals instead of overlays, with the following options to mirror overlay behavior:
static get options() {
return {
screenBackgroundColor: 'transparent',
modalPresentationStyle: 'overCurrentContext',
animations: {
showModal: {
enable: false
},
dismissModal: {
enable: false
},
},
};
}
Most helpful comment
Most of my issues are resolved by using modals instead of overlays, with the following options to mirror overlay behavior: