Ionic app screen flashes when opening alert


When I open alert it flashes my screen every time. I have put alerts in two places. First on clicking on actionsheet button and another on clicking on ion-item. I am building app on android platform.
It works fine in browser. but on my mobile it displays weird flash.

My ionic info is:
cli packages: (D:\projects\ionic\CliqueChat\node_modules)

@ionic/cli-utils  : 1.13.0
ionic (Ionic CLI) : 3.13.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.6.0


Android SDK Tools : 26.0.2
Node              : v8.2.1
npm               : 5.3.0
OS                : Windows 7


backend : pro


I solved issue by myself. It was flashing screen because of keyboard. When I open alert prompt it open / close keyboard. that’s why it was flashing. I focused on input when after i open alert to stop flashing.


If I may ask how, did you add an attribute to the AlertController? Or by invoking the Ionic Native keyboard to prevent it from automatically opening?