Skip to content
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

Closing Action with Custom Funcion and Uncaught DOMException: Node.removeChild #89

Open
ClaudioCas opened this issue Aug 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ClaudioCas
Copy link

There is an issue if you use snackbar with action together with the dismis:true option.

To reproduce the problem:

  1. Go to the examples page http://www.michaelmickelson.com/js-snackbar/
  2. Press "Closing Action with Custom Function" 2 times
  3. Press on the snackbar at the top on the "I close and act" action
  4. Press ok on the message box "You've done an action and closed [...]"
  5. Press on the snackbar at the bottom on the "I close and act" action
  6. Press ok on the message box "You've done an action and closed [...]"
    The Snackbar does not close automatically and remains on sticky.

The console shows the error "Uncaught DOMException: Node.removeChild: The node to be removed is not a child of this node" (line 342 of js-snackbar.sj)

immagine

@mickelsonmichael mickelsonmichael added the bug Something isn't working label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants