question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.0.0 router can't use `/` inside of an iframe

See original GitHub issue

4.0: http://plnkr.co/edit/HsO6Dwtv1L4CDYi10Gv9?p=preview

3.0: http://plnkr.co/edit/KSLgxEQveieLKWo5okxt?p=preview

In 3.0, choo properly detected the “base” route inside an iframe as /. Now in 4.0, it’s forcing me to use the document.location.pathname of the iframe.

I would prefer to use / inside of iframes, but I don’t know enough about routing to know if this is a bug/limitation/whatever.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
goto-bus-stopcommented, Jan 16, 2018

should this be closed now that choo@6 is out?

0reactions
yoshuawuytscommented, Jan 17, 2018

@goto-bus-stop yep I think so. Closing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I access the contents of an iframe with JavaScript ...
If the <iframe> is from the same domain, the elements are easily accessible as $("#iFrame").contents().find("#someDiv").removeClass("hidden");.
Read more >
Error with push/replace State DOMException in iframe with ...
It throws a warning, destroys the render process and displays the source code instead. The app works fine in iframe using vue next...
Read more >
<iframe>: The Inline Frame element - HTML - MDN Web Docs
The HTML element represents a nested browsing context, embedding another HTML page into the current one.
Read more >
YouTube Player API Reference for iframe Embeds
This guide explains how to use the IFrame API. It identifies the different types of events that the API can send and explains...
Read more >
What is an inline frame (iframe)? - TechTarget
An inline frame (iframe) is a HTML element that loads another HTML page within the document. It essentially puts another webpage within the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found