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
At least for me in Chrome (119.0.6045.200) on Windows 11 (Home, 22H2), when I visit a website and get notified about a strike, if I dismiss that notification, I stop getting notifications about that strike for a while. This may be behavior enforced by the browser and/or operating system I'm using, but I noticed that, after a few minutes, something happens and I'll get another notification about that strike if I visit the site that triggered the original notification again, even if that means just switching to an existing tab with it still open.
It seems like notifications are clearing in such a way that notifications.getAll continues to return those notifications for a short time after they've been dismissed. One way for us to explicitly handle this would seemingly be to use notifications.onClosed to clear notifications using notifications.clear, which would then hopefully prevent dismissed notifications from being returned by notifications.getAll next time it's invoked.
The text was updated successfully, but these errors were encountered:
At least for me in Chrome (119.0.6045.200) on Windows 11 (Home, 22H2), when I visit a website and get notified about a strike, if I dismiss that notification, I stop getting notifications about that strike for a while. This may be behavior enforced by the browser and/or operating system I'm using, but I noticed that, after a few minutes, something happens and I'll get another notification about that strike if I visit the site that triggered the original notification again, even if that means just switching to an existing tab with it still open.
It seems like notifications are clearing in such a way that
notifications.getAll
continues to return those notifications for a short time after they've been dismissed. One way for us to explicitly handle this would seemingly be to usenotifications.onClosed
to clear notifications usingnotifications.clear
, which would then hopefully prevent dismissed notifications from being returned bynotifications.getAll
next time it's invoked.The text was updated successfully, but these errors were encountered: