Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser dimensions OnAsyncResize (Priority support)
#6
It corresponds to what I was saying. If you display the dimensions they will be right
The problem occurs on mobile devices when you try to define positions of components. Personally I use onAsyncResize only on mobile devices to see if the user has turned his device portrait or landscape.
I have attached a simple test. It should work fine on a desktop.
But I tested it both on Android (Chrome browser) and Safari (IPhone) and the components positions are not right certainly due to the fact the onResize events rendering is delayed!


Attached Files
.zip   Test.zip (Size: 57.93 KB / Downloads: 0)
Reply


Messages In This Thread
RE: Browser dimensions OnAsyncResize (Priority support) - by valmeras - 03-21-2023, 03:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)