-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Add a live toast example to the docs #32760
Conversation
Looking good. Would suggest removing the close button since this autohides anyway. (incidentally this made me make a note to go over some more of the advice in the docs; additionally will see if there's a way to make it so that if the toast is hovered or has focus-within, that the toast doesn't hide) |
I don't suppose we want to disable the "Show live toast" button until the Toast finishes showing? The close button I don't mind having. BTW the snippet currently just shows the button which I don't think it's useful? In modal we show everything https://twbs-bootstrap.netlify.app/docs/5.0/components/modal/#live-demo |
Should we still show the snippet @mdo? See my comment above. |
Looks good to me now @XhmikosR. |
Tagging for beta 3 for now so we don't keep adding to Beta 2...
Addresses the toasts aspect of #31330.
/cc @XhmikosR @patrickhlauke
Preview: https://deploy-preview-32760--twbs-bootstrap.netlify.app/docs/5.0/components/toasts/#live