-
In the image below you can see the toast position when inside the iframe: The layout indicates it should be at the I think having a prop to remove the top positioning should solve for now. I could suggest another way of doing it (and make it global) is to use the This way we could push toast messages in the global context and leave it there, even when navigating to another page inside the iframe. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi @rpresb, Paste is used in a variety of products, not just Console, so we don't necessarily want to couple any Console specific behavior like postMessage into our Toaster component. That said, we directly export the |
Beta Was this translation helpful? Give feedback.
-
I'm also keen to know more about the placement of toast, is there any guideline about where to display error toasts? |
Beta Was this translation helpful? Give feedback.
-
Thanks @TheSisb, is there a specific guidance about the position relative to other elements in the UI? e.g. does it overlay the top bar nav/it shouldn't overlay it, relative position to the margins of the page, etc. |
Beta Was this translation helpful? Give feedback.
Hi @rpresb,
Paste is used in a variety of products, not just Console, so we don't necessarily want to couple any Console specific behavior like postMessage into our Toaster component. That said, we directly export the
Toast
component so you can roll a modified version of our Toaster to solve your needs. This may require some coordination with console platform.