-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
V2 - Feature - Toast Component w/o Ionic Native #5582
Comments
It indeed would be great to be native, but right now you can just install the cordova toast plugin so this most likely will be made far later in the roadmap, if it ever make it to the roadmap. |
Totally agree @Luchillo. That's what I'm doing now. However - if the mobile web is to be a first-class cititzen, having an OOTB component would be a big win. I also think the effort would not be significant given how similar a toast is to the Loader and/or Alert components. Loader is coming soon. |
Added to the roadmap, thanks! |
Curious, are there specs for what this should look like? I'd imagine for Android, it'd mimic the Toast spec for Material Design, but iOS has no such spec. |
@dmackerman We are going to follow the Material Design spec for Android, the iOS version will look similar to the Android version and we will just tweak it as necessary. 😄 |
@brandyscarney sounds good. Is there active work being done on this, or should I take a crack at it? |
@dmackerman We won't be working on this until beta.10 (unless it gets moved up) so if you'd like to work on it that would be great! It should just match the action sheet animation for now and then we can tweak that if we need to. If you'd like to look into it you can ping me for any questions. I'm thinking the directory can just be called "toast" cc @adamdbradley |
Awesome. I'll take a look at extending |
@danbucholtz @Luchillo: feel free to help out and give your feedback on this PR: #5906 😄 |
… disabled Set default text for the close button if nothing is passed. Updated tests and API docs. references #5582
…geChange is passed fix animation and darken iOS background a bit. closes #5582
A big thanks to @dmackerman for adding this component! This will be released in beta.6. 😄 |
@dmackerman, fantastic work! We are all very excited that we landed a feature entirely from the community. This is so awesome! Thanks for contributing! |
Short description of the problem:
I'd like to see a built-in toast component similar to the alerts. It would be great to have this as a core component so we can use it without Cordova.
What behavior are you expecting?
Show a nice looking modal that fades out after a given time-out
Ionic Version: 1.x / 2.x
2.x
Browser & Operating System: iOS / Android / Chrome
All
The text was updated successfully, but these errors were encountered: