we can fix this bug by adding this to DragEvent.lyrListener.onmousedown
in dragevent.js

if (is.def) {
        var tn = is.ie? e.orig.srcElement.tagName :
e.orig.target.tagName;
        if (tn=="INPUT" || tn=="TEXTAREA") return;              
}

actually i don't really like this solution, but we could use it 
until we have figured out how to solve in a nicer way. i'm 
not that involved how all events work so there might be a
better way around.

what do you think? 

/martin

-----Original Message-----
From: Richard Bennett [mailto:[EMAIL PROTECTED]] 
Sent: den 8 november 2001 10:29
To: martin ström; [EMAIL PROTECTED]
Subject: Re: [Dynapi-Dev] RE: dragging and forms


Yeah this is serious, I wonder where this crept in. I have forms in
draggable layers working fine in older versions.
NS4 seems to be the only one working ok, that should give us a hint...

the test is in CVS, here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/dynapi/dynapi/
tests/drag_forms.html

Richard.

----- Original Message ----- 
From: martin ström 
To: [EMAIL PROTECTED] 
Sent: Thursday, November 08, 2001 9:46 AM
Subject: [Dynapi-Dev] RE: dragging and forms


and here is the attached file...

> -----Original Message-----
> From: martin ström [mailto:[EMAIL PROTECTED]] 
> Sent: den 8 november 2001 09:45
> To: '[EMAIL PROTECTED]'
> Subject: dragging and forms
> 
> 
> there is a bug when using forms in a draggable layer. i 
> noticed it when i 
> read about bug  #463584 
> (http://sourceforge.net/tracker/index.php?func=detail&aid=4635
84&group_id=5757&atid=105757) 
> 
> the problem is that you are unabled to select text in 
> inputfield and textareas,
> you dragging the layer around instead.
> 
> if a textarea has a scrollbar and you try to scroll it, ie6 
> and ie4 (probably ie5 and 
> ie55 as well) doesn't stop drag on mouseup and the layer 
> follows the mousepointer
> all the time.
> 
> all browsers i've tested on (ie6, ie4, ns6, moz, ns4 
> (windows)  ie5 mac) 
> acts this way, and doesn't allow me to select text. ns 4 on 
> mac seemes ok.
> 
> attached is an example of this bug. let me know if you want 
> it in cvs/test-directory.
> 
> btw, moz/ns seemes to have problem with textareas in layers (draggable
> or not). the content isn't visible at all.
> 
> /martin
> 


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to