Notifications close button not working


#1

Close button for notifications is not working in the given example - http://framework7.io/docs-demos/core/notification.html
The same is happening with my local codes also. Earlier it was working. Pls suggest.


#2

Yesterday it was not working for the example. But today it is working.

However in my local codes it is still not working. I am using Framework7 2.1.2. Even after linking to Framework7 3.0.1 (Released on: July 10, 2018) also it is not working. What could be the possible reasons.

Following is my code snippet. Both onclick and closebutton are not working. But closetimeout is working fine and closes in 6 seconds if the notification is not clicked-

var notify = app.notification.create({
subtitle: ‘Hello World’,
//closeButton: true,
closeOnClick: true,
closeTimeout: 6000,
});
notify.open();