Skip to content

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

@ClaudioCas

Description

@ClaudioCas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions