Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

IronRouterProgress does a flash on a list of a collection #36

Closed
Rebolon opened this issue Oct 13, 2014 · 3 comments
Closed

IronRouterProgress does a flash on a list of a collection #36

Rebolon opened this issue Oct 13, 2014 · 3 comments

Comments

@Rebolon
Copy link

Rebolon commented Oct 13, 2014

Sorry for my poor english, i have a problem on my project and i did a simple app to reproduce it.
I have a simple collection of items to display. I use a pager that will load more data from the collection when you click on a button.
The expected behaviour is that new items are added to the current list.
But in fact, when the progress bar appear just after the click on the button, then the current list disappear from the screen, and then it appears with old and new items.

The app is here :

if you remove the mrt:iron-router-progress from the app, then you will have the expected behaviour.

Hope it helps, and that i didn't do any mistake.

@Rebolon
Copy link
Author

Rebolon commented Oct 14, 2014

Ok so i find the same kind of issue : #22
and a feature #30

In my specific case, the route doesn't change when i click on the "loadMore" button, so i'm not expecting to change the main template. I just want to display the progress bar. In only want a full loading page when i change the route.

Hope it will be released soon

@Multiply
Copy link
Owner

Is this still a problem with the latest IR and IRP packages?
If so, please update the reproduction to the latest version, and reopen. :)

@Rebolon
Copy link
Author

Rebolon commented Oct 31, 2014

Bug still exist.
meteor updated to 1.0
IRouter updated to 1.0

List of content re-rendered and loading template displayed whereas it shouldn't.
Reproduction available here : https://github.com/Rebolon/meteor-ironrouterprogress-bug

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

No branches or pull requests

2 participants