You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privateopenFullScreen(){this.isInFullScreen=true;varelem=document.body;if(elem.requestFullscreen){elem.requestFullscreen();}elseif(elem.mozRequestFullScreen){/* Firefox */elem.mozRequestFullScreen();}elseif(elem.webkitRequestFullscreen){/* Chrome, Safari and Opera */elem.webkitRequestFullscreen();}elseif(elem.msRequestFullscreen){/* IE/Edge */elem.msRequestFullscreen();}}
Entering the browser's fullscreen mode works fine - but the resulting jquery dialog does not extend to the full available height.
Why is the dialogExtend maximize function not recognizing the correct height?
How to set jQuery Dialog to full available height in maximize event?
With kind regards,
John
The text was updated successfully, but these errors were encountered:
JohnRanger
changed the title
Bug? When enter browser fullscreen in the beforeMaximize event, height of dialog is not adjusted to full height
Bug? When enter browser fullscreen in the beforeMaximize event, height of dialog is not adjusted to full height within the maximize action
Mar 30, 2020
where this.arrange is a function which redraws the content of the dialog.
I have also seen that when I use window.innerheight (which most probably is also used by the maximize action of dialogExtend) the value there is too small. Must be a timing problem.
So a possible fix would be to provide a switch which could be set within the beforeMaximize method to tell the dialogExtend engine to use window.outerheight instead of window.innerheight when calculating the maximized height of the dialog.
Hi all,
I am trying to automatically enter the browser's fullscreen mode when maximizing a jquery dialog which is extended with dialogExtend.
I do this by having the following code within the "beforeMaximize" callback:
where openFullscreen is like this:
Entering the browser's fullscreen mode works fine - but the resulting jquery dialog does not extend to the full available height.
Why is the dialogExtend maximize function not recognizing the correct height?
How to set jQuery Dialog to full available height in maximize event?
With kind regards,
John
The text was updated successfully, but these errors were encountered: