Describe the bug
When clicking on a notification that redirects to a page fragment, the behavior looks buggy when we're already in the target page.
Steps To Reproduce
- Trigger a fragment notification
- Click on "open"
- Once the page has loaded, open the notification again and click on "open" again
Result: notification overlay stays open.
Expected behavior
Notification overlay closes.
If we detect we're already in the target page (with JS) we should close the notification overlay.
Describe the bug
When clicking on a notification that redirects to a page fragment, the behavior looks buggy when we're already in the target page.
Steps To Reproduce
Result: notification overlay stays open.
Expected behavior
Notification overlay closes.
If we detect we're already in the target page (with JS) we should close the notification overlay.