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

Not working in Chrome 49 #25

Closed
robertu7 opened this issue Mar 10, 2016 · 6 comments
Closed

Not working in Chrome 49 #25

robertu7 opened this issue Mar 10, 2016 · 6 comments

Comments

@robertu7
Copy link

download
screen shot 2016-03-10 at 8 36 53 am

@princed
Copy link
Contributor

princed commented Mar 10, 2016

Please update to 0.0.17.
Duplicates #24.

@robertu7
Copy link
Author

@princed still not working. :(

@princed
Copy link
Contributor

princed commented Mar 10, 2016

There could be several solutions:

  • Remove <base> tag
  • Trigger custom spriteLoaderLocationUpdated event on window with newUrl param like we do for angular when React finished rendering.
  • Resolve relative url (e.g. #twitter) that loader returns to absolute url (e.g. https://one---line.com/settings#twitter) using window.location.

@robertu7
Copy link
Author

the <base> tag is a legacy when I move from AngularJS to React.

"Remove <base> tag" can solve this problem, thank you!

@princed
Copy link
Contributor

princed commented Mar 10, 2016

Great!

@beljand
Copy link

beljand commented May 18, 2016

For all Angular2 users, you can remove <base> and use:
import { APP_BASE_HREF } from '@angular/common';
and then in bootstrap function
bootstrap('App',[ provide(APP_BASE_HREF, {useValue : '/' }) ])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants