I had same problems - mouseOut events were missing in IE.
I believe, these are not GWT problems, browser does not simply produce
appropriate event.


I then had to implement EventPreviewer, and listen to all mouseMove
events (well, it was performance-satisfactory). On each get of
mouseMove event i was checking if target element is the one I'm
listening to, and if not, treated this as mouseOut. Several tips:
  * Start eventPreviewer only when you get mouseOver event from your
icon. This would save some ticks.
  * If you're waiting for mouseOut of complex element, beware not to
forget to check the element as DOM.isOrHasChild(el, mouseOutEl)
  * be sure to disable event preview once you got synthetic mouseOut.
This would help save ticks as well.

On Sep 1, 8:51 am, ToddP <[email protected]> wrote:
> I have an app where, when I mouse over an icon I display a popup panel
> containing additional information (similar to gmail's popping up info
> when you hover above the "from" address in you inbox).  The problem I
> have is that when using the onMouseOut, occasionally, the event gets
> "lost" and the popup remains open.  Mousing over another icon results
> in two popups then being open.
>
> My questions are:
>
> 1)  is using onmouseover and onmouseout the best way to accomplish
> this effect
> 2)  if so, how do I avoid leaving popups open due to missed onMouseOut
> events
>
> TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to