Answer the question
In order to leave comments, you need to log in
Why does BX24.resizeWindow not work correctly?
Hello. I have such a problem, in the application in Bitrix a vertical scroll appeared in the frame, I found how to remove it, I registered such methods
application.prototype.resizeFrame = function (){
var currentSize = BX24.getScrollSize();
minHeight = currentSize.scrollHeight;
if (minHeight < 400) minHeight = 400;
BX24.resizeWindow(this.FrameWidth, minHeight);
};
application.prototype.saveFrameWidth = function () {
this.FrameWidth = document.getElementById("app").offsetWidth;
}
Answer the question
In order to leave comments, you need to log in
The resizeWindow method with css frameworks has the same problems as fitWindow - i.e. they are great at increasing the size of the frame, but they are quite bad at reducing it (often not at all).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question