Toast Component Z-Index Api #1268
-
Hi team, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Is this for use inside of console? We know about an issue there and have just pulled in a ticket to the sprint that will add a flag via a prop to the Toaster to alleviate the z-index clash with the masthead. |
Beta Was this translation helpful? Give feedback.
-
We just merged a fix that will solve your z-index issues. Please pass the Let me know if you encounter any other issues. |
Beta Was this translation helpful? Give feedback.
Hi @vignesh-sivaprakasam
We just merged a fix that will solve your z-index issues. Please pass the
__console_patch
boolean prop to either Toaster or ToastContainer, as per the docs: https://paste.twilio.design/components/toast#toaster-propsThis will hardcode a higher z-index into our Toasts to make it appear over the masthead.
Let me know if you encounter any other issues.