sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 514 forks source link

Modal overlay is not removed when using Animate module #365

Open aasiph opened 4 years ago

aasiph commented 4 years ago

Hi, Using the Animate module and setting the stack modal to true does not remove the overlay after the notice is closed.

PNotify.info({
      title: "Button Clicked",
      text:
        "You have clicked the button. You may now complete the process of reading the notice.",
      stack: {'dir1': 'down', 'firstpos1': 10, 'modal': true},
      modules: {
        Animate: {
            animate: true,
            inClass: 'zoomInLeft',
            outClass: 'zoomOutRight'
        }
      }
    });

Check the demo at https://codesandbox.io/s/pnotify-in-angular-3ke47