0

I have an issue with Extjs Alerts in modern toolkit. I need to display an alert but sometimes it renders perfectly and sometimes it overlaps the screen just like in the image above,

Below is my

 Ext.Msg.alert("Title", 'Message');

Alert not Centering Snapshot

veggirice
  • 246
  • 1
  • 2
  • 15
IsaacK
  • 1,178
  • 1
  • 19
  • 49
  • which version are you using? – Harshit Shah May 16 '17 at 10:43
  • Issac: reproduce your issue in sencha fiddle for required sencha version you are using . – Tejas May 16 '17 at 11:15
  • Ext.Msg.alert("Title", 'Message'); there is no error here i think problem is somewhere else – Salman hassan May 16 '17 at 11:40
  • @Tejas1991 Reproducing this issue is quite tricky as this only happens when I generate and Android App or an iOS app as in the picture, But in the browser it works okay. If you run it in android, It overlaps the screen. – IsaacK May 16 '17 at 11:55
  • @HarshitShah I am using 6.2 – IsaacK May 16 '17 at 11:56
  • @SalmanhassanOkZ, I think so to so I am trying to recreate the issue, which may be hard cos this happens on only an emulator for both iOS and Android – IsaacK May 16 '17 at 11:58

1 Answers1

0

This might be a little late of a response but I had the same issue. Need to check the transform for the message window.

var alertMsg = Ext.Msg.alert("Title", 'Message')
alertMsg.setStyle('transform:translate3d(65px, 218px, 0px);');
veggirice
  • 246
  • 1
  • 2
  • 15