Skip to content

Conversation

@benoror
Copy link
Contributor

@benoror benoror commented Aug 13, 2015

When initially loading a grid with ui.grid.pagination and external pagination enabled, paginationChanged is triggered twice since the watcher values transition from undefined to the initial value

Found while developing a pageSize feature on an alternate pagination project: michaelbromley/angularUtils#212

When initially loading a grid with `ui.grid.pagination` enabled, **paginationChanged** is triggered two times since the watcher values transition from `undefined` to the **initial value** Found while developing a `pageSize` feature on an alternate pagination project: michaelbromley/angularUtils#212
swalters added a commit that referenced this pull request Aug 14, 2015
fix(pagination): avoid initial double firing of `paginationChanged`
@swalters swalters merged commit 24408d8 into angular-ui:master Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment