Great, I didn't want to add it to CVS until we had decided to use
the fix. It's working on mac as I tested before I submitted the fix.

The textarea-problem seems to be mozilla-related, if a <div> or 
<span> or whatever has a form with a textarea hardcoded, it will 
be visible as it should. but if you just rewrite the content using

document.getElementById('lyr').innerHTML=document.getElementById('lyr').
innerHTML;

the textarea's content will disappear just as in the drag_forms.html 
test. 

/martin


> -----Original Message-----
> From: Richard Bennett [mailto:[EMAIL PROTECTED]] 
> Sent: den 14 november 2001 14:26
> To: martin ström; [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Dev] RE: dragging and forms
> 
> 
> Ok, as nobody else has, I added this fix to CVS.
> The screen refresh code for NS4 and Mac is in there too, (in 
> dragevent.js)
> it works ok for NS4, IE5.5 and Mozilla on win2000, but not 
> tested on mac
> yet.
> 
> One remaining thing is that the text of the textarea doesn't show in
> Mozilla, I'm not sure if this is dynapi related, or just an 
> html error.
> 
> Richard.
> 
> ----- Original Message -----
> From: "martin ström" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 11:01 AM
> Subject: RE: [Dynapi-Dev] RE: dragging and forms
> 
> 
> > 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~/dyna
pi/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/
>


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

Reply via email to