Jake - Thank you!

I have checked in Chrome, and adding "evt.preventDefault();" into the 
onmousedown event handler stops the flickering text highlight.

I have checked in Firefox 4b9, and adding "evt.preventDefault();" into the 
onmousedown event handler stops the wierd text drag thing.

Excellent, and thank you.

Would you recommend something I should look at to get a better understanding of 
what is going on?

GB

--- In [email protected], "gb_n_svg" <gbulmeruk@...> wrote:
>
> Jake - Thanks for the advice. 
> 
> Is the "evt.preventDefault();" called on *EVERY* mouse event, or only once, 
> initially in an "onload", or something?
> 
> GB
> 
> --- In [email protected], Jacob Beard <jbeard4@> wrote:
> >
> > 
> > 
> > On 11-01-17 05:21 PM, GB wrote:
> > >
> > > Firefox often (but not always) creates a text 'drag rectangle' and 
> > > when mouse-up, the rectangle disappears, and the dragged 'use' 
> > > elements 'jump' to the cursor. So the whole set of events are 
> > > propagated, but after the button is released, and the mouse-up is 
> > > lost, which is very awkward.
> > >
> > You can disable this behaviour in Firefox by calling 
> > evt.preventDefault(); in the event handler. This might also disable and 
> > normalize the other browser behaviours you mentioned, but I'm not sure. 
> > If you have success with this, please be sure to post your experiences here.
> > 
> > Jake
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
>




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to