iron-router-progress icon indicating copy to clipboard operation
iron-router-progress copied to clipboard

body id="null"

Open nicolasparada opened this issue 10 years ago • 2 comments

It assign id="null" to the body intermittently.

nicolasparada avatar Oct 04 '15 23:10 nicolasparada

I haven't seen this behaviour at all. Can you make a reproduction, please?

Multiply avatar Oct 07 '15 17:10 Multiply

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.

nicolasparada avatar Oct 07 '15 20:10 nicolasparada