iron-router-progress
iron-router-progress copied to clipboard
body id="null"
It assign id="null" to the body intermittently.
I haven't seen this behaviour at all. Can you make a reproduction, please?
Maybe its something with just firefox... but. Just with a clean meteor app, adding iron:router and multiply:iron-router-progress.
Html file.
<head>
<meta charset="UTF-8">
<title>Progress test</title>
</head>
<template name="Layout">
<nav>
<a href="/">Home</a>
<a href="/one">Page one</a>
<a href="/two">Page two</a>
</nav>
<main>
{{> yield}}
</main>
</template>
<template name="Home">
<h2>Home page</h2>
</template>
<template name="One">
<h2>Page one</h2>
</template>
<template name="Two">
<h2>Page two</h2>
</template>
Js file.
Router.configure({
layoutTemplate: 'Layout'
});
Router.route('/', {
template: 'Home'
});
Router.route('/one');
Router.route('/two');
And if I open the inspector, I can see that id="null" it's assigned to the body intermittently when route change occurs.