vitalii-andriiovskyi / ngx-owl-carousel-o

owl-carousel for Angular >=6
MIT License
177 stars 51 forks source link

ExpressionChangedAfterItHasBeenCheckedError: #189

Open karthikmsadashivappa opened 2 years ago

karthikmsadashivappa commented 2 years ago

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'translate3d(-155px,0px,0px)'. Current value: 'translate3d(0px,0px,0px)'.

Getting this error how to fix this any suggestions ??

vitalii-andriiovskyi commented 2 years ago

@karthikmsadashivappa

How can I reproduce your case? I'm not getting this error in any of my testing apps.

Gauravdarkslayer commented 2 years ago

Actually this happens when you have a variable ngIf on owl-carousel which is initially false and toggle to true in afterviewInit .