krescruz / angular-materialize

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
MIT License
397 stars 129 forks source link

Pagination bug with ng-animate #206

Open andfk opened 7 years ago

andfk commented 7 years ago

Describe the error in 1 sentence

Pagination is showing twice when transition of page change

Steps to reproduce

Inject ng-animate and use component on page, then click to change page.

What exactly is supposed to happen

Change the active page without the flicking effect

What exactly does happens

The pagination is displayed twice between the transition

A link to a page clearly demonstrating the issue

https://plnkr.co/edit/VKBokHCb5aWOpBGMFgZA?p=preview

webbiesdk commented 7 years ago

Your example page doesn't demonstrate the issue.

And also, I don't know a lot about the pagination directive.

Best bet is to fix it yourself (and please send a PR if you fix it).

uscamayta1986 commented 7 years ago

add to your sheet style :

.pagination .waves-effect { transition: none !important;
}