Yes, it helped the decision described in: http://code.google.com/p/google-web-toolkit/issues/detail?id=7349 Thank you very much!
пятница, 4 мая 2012 г., 16:10:07 UTC+3 пользователь Jens написал: > > Seems be similar to issues: > > http://code.google.com/p/google-web-toolkit/issues/detail?id=7349 > http://code.google.com/p/google-web-toolkit/issues/detail?id=6704 > > Try the workaround mentioned in these issues. > > -- J. > > > > Am Freitag, 4. Mai 2012 08:36:07 UTC+2 schrieb Sprinter: >> >> Here's the code: >> >> public class MyEntryPoint implements EntryPoint { >> >> PopupPanel popupPanel = new PopupPanel(false,true); >> FocusPanel focusPanel = new FocusPanel(); >> VerticalPanel popupContent = new VerticalPanel(); >> >> public void onModuleLoad() { >> >> popupContent.add(new Label("Simple popup test")); >> popupContent.add(new Label("_")); >> >> focusPanel.add(popupContent); >> popupPanel.setWidget(focusPanel); >> >> popupPanel.center(); >> >> focusPanel.addMouseWheelHandler(new MouseWheelHandler(){ >> public void onMouseWheel(MouseWheelEvent event) { >> System.out.println("deltaY = " + event.getDeltaY()); >> } >> }); >> >> } >> } >> >> If you run a GWT app in Firefox, move your mouse over the text "Simple >> popup test" and scroll the mouse wheel, then onMouseWheel will be called. >> >> If this application is running in Chrome or Safari, place your mouse over >> the text "Simple popup test" and scroll the mouse wheel, then onMouseWheel >> not called. If you place the mouse cursor is not on the GWT Label and >> scroll the mouse wheel, the event will be called onMouseWheel. >> >> Maybe someone has already corrected this? Thank you very much. >> >> >> >> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/P5Fd-LhKb5kJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
