Hey,
I am writing a web app to allow users to draw over an image. The workflow of drawing a rectangle is:
1. click a mouse button
2. hold and drag
3. while the mouse moving, the size of a rectange will change.
4. once a mouse button is released, the rectangle stays.
I am having a problem with #2. In firefox, every time i tried to hold a mouse button and drag, firefox seemed thinking i was trying to drag the image underneath and turned the cursor to "STOP". And I lost the mouse down event.
any idea? thanks
I am writing a web app to allow users to draw over an image. The workflow of drawing a rectangle is:
1. click a mouse button
2. hold and drag
3. while the mouse moving, the size of a rectange will change.
4. once a mouse button is released, the rectangle stays.
I am having a problem with #2. In firefox, every time i tried to hold a mouse button and drag, firefox seemed thinking i was trying to drag the image underneath and turned the cursor to "STOP". And I lost the mouse down event.
any idea? thanks
Comment