Open shiro-saber opened 7 years ago
@shiro-saber - I'm seeing a similar issue. Any resolution here?
Basically my first page renders fine, but my 2nd page isn't rendered. Then if I click back to the first page, for a split-second it shows the content that should have been displayed from the 2nd page.
Ember: 2.11.0
Ember Data: 2.11.1
jQuery: 3.2.1
@shiro-saber - I just fixed it actually. I just had to use the content
property of the Component and stopped using the pagedArray
constructor. To manipulate the page-numbers component now, I used:
{{page-numbers content=content currentPage=page perPage=perPage totalPages=totalPages}}
As long as they're set explicitly there, you can bypass the need to set the page data on an object or anything.
tl;dr - set all the page variables on the component, then pass them through to page-numbers
explicitly!
Hello, I'm facing this problem: I setup the pagination variables, and all look fantastic, until I click in the arrows, when I click, the page changes but the display content don't.
I have the next code: Controller
Component view
I really don't know whats happening, any clue? Is this a BUG?
I'm using: