-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Good Morning,
i have a problem with component iframe: i use this component to call another zk web project (cmpFrame.setSrc(url)) but on Windows and Android the class ClientInfoEvent (method getScreenWidth and getScreenHeight) on Event 'ONCLIENTINFO' shows the correct values.
On ios the values are 150 for height and 300 for width, event the size of desktop is longer than this. Why?
On ios the values are 150 for height and 300 for width, event the size of desktop is longer than this. Why?
Are you really asking for a reason? ("Why" question...) Or would you prefer a solution/workaround? (Just a matter of asking a question in a community forum - words matter, and if used incorrectly you might get unexpected/useless responses).
So for the "WHY" I don't really know, the original reason why this kind of IOS specific behavior was implemented. Browsers simply change over time and specific browser handling code sometimes becomes obsolete. Or it's just a bug...
In case you came here, asking for a constructive solution:
The issue you describe sounds like the known issue: ZK-4336
It contains a workaround, maybe it also helps in your case, if not please add a reproducing code example. So anyone trying to help can have a dedicated look.
Asked: 2019-07-30 15:21:43 +0800
Seen: 11 times
Last updated: Aug 02 '19
[ZK8.6 Preview] New media components coming soon!
Bug in Datebox with lenient=false and value 01.04.1981?
javascript cannot catch id of zul component. Please help.
failed to utilize getTop(), getLeft() on div(component). Please help.
Serving zul files from a directory outside web application