How to evaluate MouseWheelEvent according up/down, left/right

43 views
Skip to first unread message

Philipp

unread,
Jan 18, 2018, 8:57:42 AM1/18/18
to GWT Users
Hello,

I added a MouseWheelListener to a canvas-object and it works not as expected:
  • With firefox I get no MouseWheelEvents at all. Why?
  • With IE I only get MouseWheelEvents for rolling the wheel up and down. But often it is possible to move the mouse wheel to left and right with the meaning of scrolling left and right. When I move the mouse wheel to left and right I get no events. Why?
  • With Chrome I get MouseWheelEvents for the four directions. But the MouseWheelEvent for up and left contains the same data (also for down and right) so I do not know what the user has done. Are there other events? Or...
My goal is to know, if the mousewheel was rolled up, down or moved left, right under firefox, IE and Chrome. How to do that?

Thanks in advance
Reply all
Reply to author
Forward
0 new messages