Snackbar/Toast stuck inside the story container #28922
Unanswered
RemyMachado
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hey,
When I render my snackbar component it gets stuck inside the story container instead of being rendered on the bottom right of the page. Is there an approach to this issue?
I tried moving the SnackbarViewport (renderer) in the DOM directly under the
body
, but it's not working. Theviewport
element is correctly found, but moving it causes this error:Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Any help would be greatly appreciated,
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions