mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
fix(toast): render on top
This commit is contained in:
@ -189,7 +189,7 @@ export class Loading implements OverlayInterface {
|
||||
|
||||
return {
|
||||
style: {
|
||||
zIndex: 20000 + this.overlayIndex
|
||||
zIndex: 40000 + this.overlayIndex
|
||||
},
|
||||
class: {
|
||||
...createThemedClasses(this.mode, 'loading'),
|
||||
|
@ -174,6 +174,9 @@ export class Toast implements OverlayInterface {
|
||||
const themedClasses = this.translucent ? createThemedClasses(this.mode, 'toast-translucent') : {};
|
||||
|
||||
return {
|
||||
style: {
|
||||
zIndex: 60000 + this.overlayIndex,
|
||||
},
|
||||
class: {
|
||||
...themedClasses,
|
||||
...createThemedClasses(this.mode, 'toast'),
|
||||
|
Reference in New Issue
Block a user