std-toast icon indicating copy to clipboard operation
std-toast copied to clipboard

Results 21 std-toast issues
Sort by recently updated
recently updated
newest added

In #26 and elsewhere folks have wondered whether "toast" is the best name to capture this concept. For example, @aardrian says > toast leans on a visual metaphor. It is...

Looking back through the readme, I see the following: > More complex toasts, that don't fit the above content model, would require more custom handling on the part of the...

The [research](https://github.com/jackbsteinberg/std-toast/blob/master/study-group/README.md) on popular toast libraries showed that many implementations gave an easy way to position the toast. That positioning, usually in the corners or the middle of the top...

Certainly a toast without an action and a timeout seems like it needs a close button.

What should ```js toast.show(); toast.setAttribtue("open", ""); ``` do? Should it still close after a timeout? ```js toast.show(); toast.removeAttribtue("open"); toast.setAttribtue("open", ""); ``` will cancel the close-after-timeout callback. Whatever the answer is,...

During the research phase there was a split where about half of the libraries surveyed treated had first-class support for titles and icons. Among those around half had that support...

We should explain that we are going to use the fact that last element of is top-most on the screen. I'm also bit concerned about this. For `showToast` we can...

What should be the default duration to make sure the toast is accessible? Some cursory searching for heuristics suggest 3s + 60ms per character, [3s * $duration_paused](https://www.lightningdesignsystem.com/guidelines/messaging/components/toasts/), [3.5s](https://www.maxability.co.in/2018/02/04/toast-is-it-accessible/), etc. Is...

[ARIA 1.2](https://www.w3.org/TR/wai-aria-1.2/) contains roles that do not have native HTML counterparts, as outlined in _[2.14 Aria roles and properties not available as features in HTML](https://www.w3.org/TR/aria-in-html/#aria-roles)_. A collection of roles that...

Themes are a common pattern with toasts, and the intention is to build some themes into the std-toast. A non-exhaustive list of current ideas for themes: - Default (Info) -...