showFormPopup on iPad

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

showFormPopup on iPad

Postby Peter de Groot » Tue Jul 29, 2014 3:52 pm

Hi all,

we use
Code: Select all
plugins.window.showFormPopup(elements.btn_sara_menu, forms.main_menu, foundset.getSelectedRecord(), null);
to create a popup form,
it works correctly on android, window etc. but on an iPad air with ios 7.1.2 the form is shown briefly and then disappears.
Does anyone has an idea whats causing this behavior? There are no onLoad, onShow ect. triggered on the form.

We use Servoy 7.3.1

Regards,
Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: showFormPopup on iPad [Solved]

Postby Peter de Groot » Thu Jul 31, 2014 8:11 am

I found the problem that causes the disappearing of the formPopup, we display the wc solution through an iframe and use(d) this line of code
Code: Select all
<iframe frameborder=0 scrolling="no" src="link_to_solution" target="_top" height="100%" width="1010px"></iframe

this seems to somehow resize the height of the form when displaying a formPopup or dialog , now we use
Code: Select all
<iframe style="position: absolute; height: 100%; width: 1010px" frameborder=0 scrolling="no" src="link_to_solution" target="_top"></iframe

and the formPopup and dialogs work like a charm.

Regards,

Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...


Return to Web Development

Who is online

Users browsing this forum: No registered users and 4 guests