Keyboard appear/disappear effect slow on modal


After migrate from Ionic 3 to 5. A problem appears at modals when keyboard should appears and disappears takes a lot. On both Android and iOS.

I have tested different solutions. At pages there is no problem.

Fixed in iOS with

But still does not work in Android