In IE11 with doctype html is mouseUpHandler called immediately after mouseDown when the user move the cursor with still pressed mouse button. When the mouse button is released. No event is handled.
In other browsers (Firefox, Chrome, older IE versions) it works OK.
I use smartgwt 4.1p from 2014-06-11 and GWT 2.6.1.
Here is example:
Thanks Pavel
In other browsers (Firefox, Chrome, older IE versions) it works OK.
I use smartgwt 4.1p from 2014-06-11 and GWT 2.6.1.
Here is example:
Code:
Canvas cnv = new Canvas(); cnv.setWidth100(); cnv.setHeight100(); cnv.setBackgroundColor("lime"); cnv.addMouseDownHandler(new MouseDownHandler() { @Override public void onMouseDown(MouseDownEvent event) { System.out.println("MouseDown"); } }); cnv.addMouseUpHandler(new MouseUpHandler() { @Override public void onMouseUp(MouseUpEvent event) { System.out.println("MouseUp"); } }); cnv.draw();
Comment