Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-161

Canceled Navigation To Pages With a Hash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • cordova-wp7 (DEFUNCT)
    • None

    Description

      If you are on page a.html and try to navigate to b.html#subsection the PGView control will not navigate. Looking at the code, it appears that navigation is canceled if a hash is found in the URL:

      private void GapBrowser_Navigating(object sender, NavigatingEventArgs e)
      {
      Debug.WriteLine("GapBrowser_Navigating to :: " + e.get_Uri().ToString());
      if (e.get_Uri().ToString().IndexOf("#") > -1)

      { e.Cancel = true; }

      }

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            terphi Peter Brady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: