Open nlocascio opened 6 months ago
Hi @nlocascio , the latest/legacy version of <ui-snackbar>
has support for this feature (timeoutMs = -1
).
And toast has no action buttons by design definition, so there is no need to disable timeoutMs.
Thank you very much :)
Would you be open to removing the minimum timeout settings on the Snackbar & Toast components?
We have a use case for displaying a notification that persists until the user manually dismisses it (via an action on the Snackbar/Toast itself, or via some other action within the UI), so we'd like to be able to pass
0
ornull
as the timeout and get a component that doesn't automatically disappear. We have seen this option available onI would be happy to open a PR with this change if it sounds OK to you.
Thank you!