Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    mouseOut call on listgrid

    What type of debugging can I enable in order to see who is calling mouseOut on the listgrid? I have some row hovering functionality on a listgrid but in Chrome there is an extra mouse-out being called after I have shown a form, so the form disappears. I wanted to try and figure out what it is coming from - kind of like when I turn on traceBlur.

    #2
    The easiest way to discover the caller is to use Log.getStackTrace() and logWarn() the returned string. Which browser gives the best information here is in flux, but currently, it's probably Firefox.

    Comment


      #3
      Ack, unfortunately we don't see that extra call in firefox OR IE - only Chrome. And the stacktrace seems very vague

      08:26:57.086:MOU6:WARN:Log:*********MOUSEOUT CALLED
      Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
      [o]ListGrid.stopHover()
      [c]EventHandler.handleNativeMouseOut(_1=>[object MouseEvent])
      [c]EventHandler.dispatch(_1=>[c]EventHandler.handleNativeMouseOut(), _2=>[object MouseEvent])
      anonymous(event=>[object MouseEvent])

      I'll try to create a standalone

      Comment


        #4
        mouseOut bubbles, so check the target via EventHandler.getTarget(). What you could be seeing is something like the mouse moving out of the ListGrid header into the body area, then out of the body (hence the ListGrid as a whole). So your mouseOut handler should respond only if the target is something it cares about.

        Comment

        Working...
        X