You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of expected behavior and the observed behavior
toaster notification should work, but if a notification is triggered while another one is still showing, then they pile up, and are shown all at once after a new notification-trigger. After this, no notification is shown anymore.
Complete, minimal, self-contained example code that reproduces the issue
importpanelaspnprint(pn.__version__)
pn.extension(notifications=True)
tmpl=pn.template.BootstrapTemplate(title="Test App")
defcreate_button(notificator):
button=pn.widgets.Button(
button_type="primary",
icon="plus",
name=f"{notificator}"
)
defcreate_notification(_):
notificator("this is a notification!", duration=3*1000)
button.on_click(create_notification)
returnbuttontmpl.sidebar.append(create_button(pn.state.notifications.info))
tmpl.sidebar.append(create_button(pn.state.notifications.error))
tmpl.main.append(pn.pane.Markdown("# Test Text"))
tmpl.servable()
Software Version Info
Description of expected behavior and the observed behavior
toaster notification should work, but if a notification is triggered while another one is still showing, then they pile up, and are shown all at once after a new notification-trigger. After this, no notification is shown anymore.
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
Registrazione.schermo.2025-02-06.alle.17.51.20.mov
The text was updated successfully, but these errors were encountered: