Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19309

The notification clean link should not navigate to an empty anchor

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      • Log in on a site with a fixed top banner
      • Make sure the current user has some notification alerts
      • Head to a page with a table of contents and click one one of the named anchors in it
      • Open up the notification alert menu
      • Hit link "Clean all" (Note: it's not even needed to validate the confirmation modal, simply clicking on Clean All is enough to lose the context)

      Actual result

      • In the browser address bar, the URL fragment identifier gets updated to "#", which makes the window scroll up to the top and fire a popstate event (the navigation history gets updated)

      Expected result

      • Either the URL fragment identifier remains unchanged, or it gets modified only to reflect clearly the current page state

       

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: