Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using use-hash-as-path #233

Open
2 of 8 tasks
jkanche opened this issue Jun 13, 2018 · 0 comments
Open
2 of 8 tasks

Error when using use-hash-as-path #233

jkanche opened this issue Jun 13, 2018 · 0 comments

Comments

@jkanche
Copy link

jkanche commented Jun 13, 2018

Description

The page doesn't get updated with the path if path is set using JS.

Expected outcome

the page url should be updated

Actual outcome

The page url is not updated

Steps to reproduce

  1. Add the following to a page
        <app-location route="{{route}}" use-hash-as-path></app-location>
        <app-route route="{{route}}" pattern="/:workspace" data="{{routeData}}" tail="{{subroute}}">
        </app-route>
  1. set the workspace id in Js this.set("routeData.workspace", "sample-workspace");
  2. run polymer serve and if the page is pointing to localhost:8081/ the hash is not updated in the url.
  3. However, if the page is pointing to localhost:8081/#/ then the workspace Id shows up in the url.

Browsers Affected

  • Chrome
  • Firefox
    Not tested
  • Safari 8
  • Safari 9
  • Safari 7
  • Edge
  • IE 11
  • IE 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant