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

WP7 handling of URL fragments

    XMLWordPrintableJSON

Details

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

    Description

      Currently there is code in PGView.xaml.cs that halts navigation if the URL contains a fragment:

      if (e.Uri.ToString().IndexOf("#") > -1)

      { e.Cancel = true; }

      I understand that PhoneGap couldn't easily support navigating the given page, then scrolling to the fragment location. However cancelling navigation is a bit extreme!

      I would suggest removing the fragment from the URL then simply navigating to the given page.

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            colin.eberhardt Colin Eberhardt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: