N
Novu14mo ago
SP

Control open/closed state of NotificationCenter

Is it possible to control the open/closed state of the NotificationCenter (React)? I want the NotificationCenter to close when I click an Action. Currently, the NotificationCenter remains open when I click on an item's Action button. Ideally I would be able to set an open state on the NotificationProvider
2 Replies
Pawan Jain
Pawan Jain14mo ago
Hi @SP Currently, it is not possible to manage open/close state. We have an active github issue for this https://github.com/novuhq/novu/issues/2986
GitHub
[NV-1822] 🚀 Feature: Add ability to close widget popover after user...
🔖 Feature description On v0.9.0, we can close notification popover using onWidgetClose provide by hook. import { useNotifications } from '@novu/notification-center'; const { onWidgetClose }...
SP
SPOP14mo ago
thanks for the answer!
Want results from more Discord servers?
Add your server