Skip to Content
0

Feedback on EP SAP Note 2268390

Dec 13, 2017 at 09:54 AM

28

avatar image

Fix is causing issues when integrating URL iView or other custom iViews which will make use of workArea.resizeIframe function.

So iViews are not scollable on iPad. When I switch position to "relative" scolling is working again.

Please correct!

Thanks and regards,

Jens Drogi

workArea.resizeIframe = function()
{
obj = document.getElementById("isolatedWorkArea");
var dif = 3;
if(document.getElementById("fullPageDiv") != null){
dif += 9;
}
var height;
//If IE
if( EPCM.getUAType() == EPCM.MSIE ){
//If IE9 and above
if(document.documentMode >= 9){
height = window.innerHeight - dif - 4;
obj.style.height = height + "px";
}
else if(document.documentMode == 8){
height = document.documentElement.clientHeight - dif;
obj.style.height = height + "px";
}
else{
height = document.body.clientHeight - dif;
obj.style.pixelHeight = height;
}
}
//Other browsers
else{
if(EPCM.getUAVersion() < 7){
height = window.innerHeight - dif - 6 ;
obj.style.height = height + "px";
}
else {
// fix for note 2268390 - In FFP scrolling is not possible at fiori apps when using iPhone/iPad
//in case of using iPad/iPhone/iPod we set the content area iframe position to 'fixed' in order to enable scrolling
var iOS = /iPad|iPhone|iPod/.test(navigator.platform);
if (iOS){
obj.style.position = 'fixed';
}
height = window.innerHeight - dif;
obj.style.height = height + "px";
}
}
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers