I'm looking  at LPP-9629 , which is a bug that shows up in  DHTML in Firefox
and IE, where when you select some
inputtext  by dragging and release the mouseup outside of the view, the
selection and focus gets confused.

I found that if I commented out the call to 'sprite.deselect()' in
LzInputText.__textEvent, that the bug goes away.
I'm trying to figure out why we have that call at all, it seems like the
desired behavior is that the text selection
remain regardless of where you mouse up...

LzInputTextSprite.prototype.__textEvent = function ( evt ){

        } else if (eventname === 'onmouseup') {
            evt.cancelBubble = true;
            // if the mouse isn't over us, send an onmouseupoutside evemt
            if (! sprite.__isMouseOver()) {
                sprite.__globalmouseup(evt);
                // deselect ourselves
                // sprite.deselect();
              ^^^^^^
            } else {
                sprite.__mouseEvent(eventname);
            }
        }


-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to