Page 1 of 1

showFormPopup on iPad

PostPosted: Tue Jul 29, 2014 3:52 pm
by Peter de Groot
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

Re: showFormPopup on iPad [Solved]

PostPosted: Thu Jul 31, 2014 8:11 am
by Peter de Groot
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