Most clients want our notifications to persist for their users. Our Notifications by default are set to stack on top of each other and disappear after a certain set of time. If you click in the body of the Notification it will also dismiss the notification.
To have your Notifications persist until the user actions them, you will have to add the
sticky property to your notifications options. More on that here.
If you would like to remove the default behavior of clicking in the body to close the Notification, you will have to add
_NOOP_: "event_dismiss" under a
onSelect option in your
notifications.create call. If you add this, once you click on the body of the notification it won't close the Notification. Your
notifications.create will look something like this:
title: 'Avoid Click ',