Roger
Posts: 0
Joined: Fri Mar 29, 2013 1:10 pm

$("[data-role=header]").css("position", "fixed");

I had to add the following code to all of my PageShow events to solve an issue on iOS devices. The header would no longer be in a fixed position at the top of the page after the iOS keyboard was used. the code below solved that.

$("[data-role=footer]").css("position", "fixed");
$("[data-role=header]").css("position", "fixed");

However, this code now causes the header on a popup to get truncated.

Does anyone have any ideas?

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

$("[data-role=header]").css("position", "fixed");

Hello Roger,

Could you please detail, how does your window is opened (popup, dialog or something else)?

Roger
Posts: 0
Joined: Fri Mar 29, 2013 1:10 pm

$("[data-role=header]").css("position", "fixed");

I use the following;

Appery.openPopup('MessagePopup',$(this));

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

$("[data-role=header]").css("position", "fixed");

Roger,

Could you please specify, do you use exactly it?
Appery.openPopup is undefined

Or do you have added something yours in Appery.io?

Roger
Posts: 0
Joined: Fri Mar 29, 2013 1:10 pm

$("[data-role=header]").css("position", "fixed");

Evgene,

My mistake. I forgot Progress Software is on its own branch of Appery. They must have added this.

Sorry for the confusion.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

$("[data-role=header]").css("position", "fixed");

Roger,

Thank you for the update.

Return to “Issues”