Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic v2 - toast (feat) - add option to not block user interaction #6291

Closed
apparition47 opened this issue Apr 22, 2016 · 1 comment
Closed
Assignees
Milestone

Comments

@apparition47
Copy link

With the new 2.0.0-beta.6, it would be nice if we had an option to allow users to interact with the app without forcing them to dismiss the toast first. Right now, Toast is basically an extension of ActionSheet, so actions in the background are blocked.

If I use the following .scss as my toast's cssClass, I can prevent toast from blocking the user:

.no-backdrop-toast {
    top: initial;
    bottom: 0;
    height: 54px;
}
                let toast = Toast.create({
                    message: 'hello world',
                    cssClass: 'no-backdrop-toast',
                });

                this.nav.present(toast);
@adamdbradley
Copy link
Contributor

We've decided to entirely remove the backdrop from the toast component, which isn't apart of the material design spec. Thanks for bring it to our attention and letting us know it was an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants