0

onClientInfoEvent when device rotates - Safari

asked 2018-02-09 07:48:34 +0800

estuardoumg gravatar image estuardoumg
15 1

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?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-02-09 13:01:29 +0800

cor3000 gravatar image cor3000
4263 1 7
ZK Team

updated 2018-02-09 13:01:55 +0800

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

link publish delete flag offensive edit
0

answered 2018-02-14 05:20:30 +0800

estuardoumg gravatar image estuardoumg
15 1

updated 2018-02-14 05:21:21 +0800

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.

link publish delete flag offensive edit

Comments

instead of a video also the exact device type and IOS/safari version could help to try and reproduce the issue here.

cor3000 ( 2018-02-14 09:26:12 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2018-02-09 07:48:34 +0800

Seen: 16 times

Last updated: Feb 14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More