Ionic Modal slide-in-up animation clashes with ion-infinite-scroll in the modal


I want to put ion-infinite-scroll in an Ionic modal. When I tried it, I found out that the ion-infinite-scroll load more script runs automatically when the modal first appears. The codepen is here. Ionic infinite scroll loadmore in a IonicModal runs automatically when Modal appears

I tried slide-in-right as well, and the ion-inifinite scroll load more runs automatically again. For now, I can check first run in the load more function and do nothing in the first run. But it seems like it’s an issue in Ionic. Or if anyone else know other ways to fix this?