IE mousemove event not always firing

71 views
Skip to first unread message

Rublex

unread,
Jul 22, 2008, 4:43:26 PM7/22/08
to google-excanvas
Hi,

I playing around with canvas and have created a test page here:

http://24.123.221.18/canvas/default.aspx

The code is somewhat based on:

http://www.ernestdelgado.com/public-tests/canvasphoto/demo/canvas.html

How it works:
1. Double-click on the rectangle
2. Manipulate rectangle using hotspots by clicking and dragging the
mouse

The problem:
1. In IE the mousemove event assigned to the canvas element is not
triggered properly when mousing over the pink (square) hotspots (when
rectangle is not rotated). It works fine in Firefox, Opera, and
Safari. When you move the mouse over the canvas the mouse coordinates
appear in the bottom-right corner of the screen, but when you go over
the pink hotspots the event is not triggered and mouse coordinates do
not change!

Another interesting bit is that if you rotate the rectangle with the
orange hotspots, the pink hotspots become more responsive, but still
not quiet right.

Any ideas?

Thank you

Rublex

unread,
Jul 24, 2008, 6:54:05 PM7/24/08
to google-excanvas
Nevermind, it was a simple z-index issue.

thanks

juanpaco

unread,
Sep 9, 2008, 5:43:12 PM9/9/08
to google-excanvas
I'm having the same issue. Can you please elaborate on the solution
that you found? I'll in the meantime play with the z-index, but if
you could further explain, I'd sure appreciate it.


Thanks,
Ethan
Reply all
Reply to author
Forward
0 new messages