Hi,
even the MouseWheelListener is broken in GWT 1.6.4.
example:
public class TestEntryPoint implements EntryPoint {
MouseWheelListener mwl = new MouseWheelListener() {
public void onMouseWheel(Widget sender, MouseWheelVelocity
velocity) {
Window.alert("Mouse Wheel Listener");
}
};
public TestEntryPoint() {
}
public void onModuleLoad() {
final Label label = new Label("Mouse Wheel Tester");
final FocusPanel fp = new FocusPanel();
fp.setSize("100%", "100%");
fp.addMouseWheelListener(mwl);
fp.add(label);
RootPanel.get().add(fp);
}
}
Tested with:
Safari 3.2.2 (Win)
FF 3.0.9 (Win)
IE 7 (Win)
Chrome 2.0.172.8 (Win)
When compiled with GWT 1.5.3 it works in all browsers. With GWT 1.6.4
it works in all except FF - the same situation is when I use
MouseWheelHandler instead MouseWheelListener.
Is there any workaround for capturing the mouse wheel in FF using GWT
1.6?
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---