Ionic-framework: feat: Swipe to dismiss Toasts

Created on 16 Jul 2020  路  4Comments  路  Source: ionic-team/ionic-framework

Feature Request

Toast can optionally be dismissed via swiping the toast.

Ionic version:


[x] 4.x
[x] 5.x

Describe the Feature Request

Toasts should be dismissible via swiping. Many modern mobile apps that show messages similar to Toasts in Ionic are easily dismissible via swiping left or right on the toast.

Describe Preferred Solution

A swipeToClose boolean option that could be added to the opts parameter in the Toast Controller's .create() function. Set to false by default.

help wanted core feature request

Most helpful comment

Hi!

I'd like to try adding this feature.

All 4 comments

This issue has been labeled as help wanted. This label is added to issues that we believe would be good for contributors.

If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.

For a guide on how to create a pull request and test this project locally to see your changes, see our contributing documentation.

Thank you!

Hello @jschillingApollo
Check in this toolset if somethings you are looking for.

Hello @jschillingApollo
Check in this toolset if somethings you are looking for.

Thanks @roman-rr for the suggestion! That library looks awesome. Lots of great options.

Hi!

I'd like to try adding this feature.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

masimplo picture masimplo  路  3Comments

BilelKrichen picture BilelKrichen  路  3Comments

gio82 picture gio82  路  3Comments

MrBokeh picture MrBokeh  路  3Comments

brandyscarney picture brandyscarney  路  3Comments