Popup causing a flicker on ios and android

When opening and closing a popup the screen flickers on both ios and android.

It seems that the backdrop is displayed and removed a second time very fast.

I think it may have to do with the popup animation.

Does anyone have any ideas on how to resolve this or to remove the animation?