Unexpected behaviour noticed on using app on customized OS platform

On some devices before displaying modal controller the screen goes blank for few seconds (approx 30 sec).
My app works fine on the browser and few android devices but on Oxygen OS, FunTouch OS/ customized OS it does’nt work as expected. On using keyboard the UI moves upwards which maintains its position even after the keyboard is gone. Any help is highly appreciated.