Skip to content

Commit

Permalink
fix(toast): render on top
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Sep 12, 2018
1 parent 969433c commit ac42180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/loading/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class Loading implements OverlayInterface {

return {
style: {
zIndex: 20000 + this.overlayIndex
zIndex: 40000 + this.overlayIndex
},
class: {
...createThemedClasses(this.mode, 'loading'),
Expand Down
3 changes: 3 additions & 0 deletions core/src/components/toast/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit ac42180

Please sign in to comment.