cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog box not half visible in mobile screen

former_member338801
Participant
0 Kudos
img-20190125-231330.png

Hi Experts,

Have you everseen issue with dialog box that is coming half visible to mobile user? Due to this user is not able to close the dialog box mean ok button is not visible to user like attached in the screeshot.

How can be fix this issue.

BR,

RK

maheshpalavalli
Active Contributor
0 Kudos

Can you paste the code for the dialog box ? dialog box code and code where you are calling it.

former_member338801
Participant
0 Kudos

Hi Mahesh,

Thanks for your reply. I haven't seen this issue when I checked in Android and iPhone devices but one of the user raised this issue. Let me know how can we fix this Is there any way to change the place of dialog box but by default it comes in the middle only. It can't be chnage if you try to bring somewhwr in the mobile screen.

Please find attached code :

<Buttonpress="onSave" text="onSave" type="Accept"/>

onsave.txt

Best Regards,

RK

former_member338801
Participant
0 Kudos

Can we use draggable property here and how any suggestions pls?

BR,

RK

maheshpalavalli
Active Contributor
0 Kudos

Sorry, didint see you rreply, can you also provide the xml code of the dialog box... Why I am asking is it that it should work fine in all browsers and devices automatically

former_member338801
Participant
0 Kudos

<footer> <Toolbar> <ToolbarSpacer/> <HBox alignItems="Center" direction="Row" displayInline="false" fitContainer="false" height="" id="__hbox2" justifyContent="Center" renderType="Div" width="100%"> <Button id="SOXSave" press="onSave" text="save" type="Accept"/> <Button id="SOXPost" press="onPost" text="post" type="Emphasized"/> </HBox> </Toolbar> </footer>

maheshpalavalli
Active Contributor
0 Kudos

Hi Ram, you are giving the footer XML code, I am asking the dialog box code..

former_member338801
Participant
0 Kudos

Hi Mahesh,

It is like save and post buttons are in the footer on click of save button success or error dialog message comes. You can check my previous code that I shared.

Let me know if you need any more details.

BR,

RK

maheshpalavalli
Active Contributor
0 Kudos

You are calling "that.showDialog" right in the success handler, see where it is filled in the code like search for "showDialog = "

former_member338801
Participant
0 Kudos

Hi Mahesh,

I didn't understand your last reply. Do I need to make any correction? As explained before it worked in all scenario, I didn't get chance to speek with user to check the scenario.

BR,

RK

maheshpalavalli
Active Contributor
0 Kudos

The Dialog Box code, It must be a control or something.. sap.m.Dialog or sap.m.MessageBox..

or it must be written in some xml fragment

former_member338801
Participant
0 Kudos

Okay

Can I implent this at this moment in the controller only I want? Please suggest.

BR,

RK

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member235383
Active Participant
0 Kudos

Hello Ram,

Which is the device with which you are testing and the Browser version?

Have you checked it in any different browser?

Make sure that you are using a Supported Device, Browser & Browser's version, to do so refer to the following Demo Kit link:

https://sapui5.hana.ondemand.com/#/topic/74b59efa0eef48988d3b716bd0ecc933

Additionaly check for the SAPUI5 version ( Ctrl + Left Alt + Shift + P ) and provide the code that you are using.

Best regards,

Konstantia

former_member338801
Participant
0 Kudos

Thanks Konstantia.

I have already share my code please check my previou reply. Let me know if you need any further details.

BR,

RK