-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Does anybody notice that onClientInfo event is not firing when the mobile device rotates and the client is Safari ? Anyone knows if there is a workaround?
I tested the event with multiple IOS devices and also the latest version. In all cases the onClientInfo event is fired as expected.
Here a simple test page you can use to verify if the event is received by looking into the server console/logs.
<zk>
<div onClientInfo="System.out.println(event.toString() + event.getOrientation());">
check server side logs for onClientInfo events
</div>
</zk>
NOTE: the onClientInfo event listener needs to be at the root element of your page.
If you have some reproducing code please provide the details so I can have a closer look.
Robert
Thanks Rober for you answer, that's weird, in my code the event is triggering when i use a chrome browser but not in Safari, i'm going to prepared a sample code and maybe a video.
Asked: 2018-02-09 07:48:34 +0800
Seen: 17 times
Last updated: Feb 14 '18
Error: Could not initialize class sun.net.www.protocol.http.HttpURLConnection
[Announcement] ZK 8.5.0 is now released
[Announcement] ZK 8.5 celebration - draw for a prize!
ZK 8.5: Listboxitem setCheckable (setSelectable) not work anymore
How to Dynamically apply our own custom themes in zk 8.5
Migration from ZK 8.0.2.1 TO ZK 8.5.0 ISSUES
ZK 8 Middle Object How to Programmatically make it dirty [closed]