Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IntraWeb 15.3.7 is out!
#5
I am sure that it is not related to the device DPR!
Because as I was explaining in the original thread, the dimensions were right for the onAsybcResize and onAsyncOrientationChange!
The dimensions were wrong only for the onRender event!
And it is still the case!
If you run the demo I posted before, you will see that the correct available browser dimensions are displayed for the onAsyncResize and onAsyncOrientationChange!

And those dimensions can be retrieved correctly from any event using the JavaScript code below:
    var available_width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 
    var available_height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
Reply


Messages In This Thread
IntraWeb 15.3.7 is out! - by Alexandre Machado - 06-20-2023, 06:21 AM
RE: IntraWeb 15.3.7 is out! - by jeroen.rottink - 06-20-2023, 10:17 AM
RE: IntraWeb 15.3.7 is out! - by valmeras - 06-20-2023, 04:29 PM
RE: IntraWeb 15.3.7 is out! - by valmeras - 06-20-2023, 09:33 PM
RE: IntraWeb 15.3.7 is out! - by valmeras - 06-21-2023, 01:24 AM
RE: IntraWeb 15.3.7 is out! - by valmeras - 06-21-2023, 02:07 PM
RE: IntraWeb 15.3.7 is out! - by valmeras - 06-21-2023, 09:29 PM
RE: IntraWeb 15.3.7 is out! - by valmeras - 07-01-2023, 12:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)