on 12-13-2017 9:54 AM
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";
}
}
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.