mharris717 / ember-cli-pagination

Pagination Addon for Ember CLI
MIT License
273 stars 116 forks source link

Not possible to render page-numbers twice #272

Open Synforge opened 5 years ago

Synforge commented 5 years ago

There seems to be an issue with rendering page-numbers twice on a page for the same set of data which results in the following error:

Uncaught Error: Assertion Failed: You modified "canStepBackward" twice on <frontend@component:page-numbers::ember804> in a single render. It was rendered in "component:page-numbers" and modified in "component:page-numbers". This was unreliable and slow in Ember 1.x and is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.

broerse commented 5 years ago

Saw this error before but not yet related to this addon. See also https://github.com/broerse/ember-cli-blog On what ember version do you see this?

Synforge commented 5 years ago

I'm running 3.9.0, ember-cli-pagination is 3.1.4.

broerse commented 5 years ago

The Bloggr example is running with this exact versions without this modified twice bug as far as I know. I will take a look.