Skip to content

dir-paginate fails to properly update when used with ng-if #28

@dougpool

Description

@dougpool

I noticed when I tried to use the dir-paginate directive on an element that was a child of a div that was conditionally show using ng-if, the dir-paginate did not properly display. When ng-if was replaced with ng-show, the dir-paginate directive worked normally.

Sample structure where dir-paginate appears to not work correctly.

<div ng-if="someCondition()">
<div dir-paginate="item in items | itemsPerPage:someNumber ....>{{item}}</div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions