Hi,

i think the problem is not the orientation change or the "resize". Also 
when loading the page in landscape mode, getSize leads to wrong dimensions.

Am Mittwoch, 29. Januar 2014 15:12:00 UTC+1 schrieb shoplifter:
>
> Hi, maybe you can try tu use an orientation change (or onResize) event to 
> trigger getSize()?
>
> Am Samstag, 25. Januar 2014 16:22:30 UTC+1 schrieb snillo:
>>
>> i forgot; i'm using mootools 1.4.5, i'm calling window.getSize() on 
>> domready. The tablet is a Nexus 7 (browser = chrome), i have the same 
>> behaviour on my Samsung S2 (standart browser android 4.1)
>>
>> Am Donnerstag, 23. Januar 2014 19:02:34 UTC+1 schrieb snillo:
>>>
>>> Hi,
>>>
>>> did anyone else had problems with window.getSize() on Android devices? 
>>> If i hold my tablet in landscape mode, i get a wrong width. In portrait 
>>> mode the width is correct.
>>> Using window.innerWidth works in both cases. 
>>> I have no meta tag for viewport configuration, website is with HTML5 
>>> doctype.
>>>
>>> Georg
>>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to