Ifame Apps development haves unwanted bug described below:
This error disappear when our App max-height is not same than IFrame height:
Ifame Apps development haves unwanted bug described below:
This error disappear when our App max-height is not same than IFrame height:
Looks like itās connected to the issue Iāve described here:
Addition vertical scrollbar started to appear - Jira Development / Jira Cloud - The Atlassian Developer Community
I would add it to this thread, but didnāt realise by the title that it could be the same issue.
I didnāt notice that setting max height impacts this - Iāll try. Any observations how resizing the webbrowser with the max height set impacts this?
@matti.kiviharju Iāve tried and I donāt see any way that the max-height makes this any better. Could you give more details where you set it, some code snippet?
I canāt give a code snippet, because we using a Ext JS 4.2 and itās Closed Source JavaScript GUI Framework.
Ok, I understand.
I was rather thinking where the max-height attribute actually landed in the DOM.
Iāve added it to the <body class=āac-contentā ā¦>, <section id=ācontentā role=āmaināā¦> and the <div id=āpageā ā¦>. I think these are all generated automatically by the node.js ACE example.
I did only like this:
JavaScript:
var viewPort = Create.Ext.ViewPort({
...
renderTo: āac-contentā
...
});
...
<body><div class=āac-contentā></div></body>
Ok, thanks for response. Still I donāt see this changing anything for the app Iām working on
I think Ext JS 4.2 Framework it self somehow causes this bug.
Like is screenshot below there a Jira body HTML tag:
Okay,
With code below issue is almost fixed but still additional scrollbar shows up before page load and disappears after page load.
window.onload = function() {
AP.resize('100%', '99%');
}
Glad that it worked for you, unfortunatelly, the AP.resize (100%,99%) doesnāt solve my case - I mean it solves it, till I donāt resize the webbrowser window .
You need code like this probably:
const heightOutput = document.querySelector('#height');
const widthOutput = document.querySelector('#width');
function reportWindowSize() {
heightOutput.textContent = window.innerHeight;
widthOutput.textContent = window.innerWidth;
}
window.onresize = reportWindowSize;
I finally had time to play with it again. Unfortunately for my situation it doesnāt help. No matter how I resize the window window.innerHeight returns the same value.
Iāve tried to be ācleverā and put ***AP.resize(ā100%ā,ācalc(100% - 5)ā);***but also no changes.
Thanks for all the information.
This does not help either:
window.onresize = function() {
AP.resize('100%', '99%');
}