[Moo] FF 3.5 makeDraggable bug?

3 messages Options
Embed this post
Permalink
dl-3

[Moo] FF 3.5 makeDraggable bug?

Reply Threaded More More options
Print post
Permalink

I have a div that contains a text element and I make the div
draggable. I then find that I cannot set focus to that text control
using the left click of the mouse. I can right click and get the
context menu, and when I dismiss the context menu the edit controls
has focus and will accept keyboard input but not with the normal left
click.

You can see a live example here: http://giganto-corp.com/moobug/

The problem also exists in chrome although It works fine in IE7.

I'm I doing something wrong or is this a bug? Is there a work around?
Fábio M. Costa

[Moo] Re: FF 3.5 makeDraggable bug?

Reply Threaded More More options
Print post
Permalink
Try creating a handler into the div and setting it to be the drag handler.
But it looks like a bug.

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface


On Thu, Nov 5, 2009 at 3:35 PM, dl <[hidden email]> wrote:

I have a div that contains a text element and I make the div
draggable. I then find that I cannot set focus to that text control
using the left click of the mouse. I can right click and get the
context menu, and when I dismiss the context menu the edit controls
has focus and will accept keyboard input but not with the normal left
click.

You can see a live example here: http://giganto-corp.com/moobug/

The problem also exists in chrome although It works fine in IE7.

I'm I doing something wrong or is this a bug? Is there a work around?

anutron

[Moo] Re: FF 3.5 makeDraggable bug?

Reply Threaded More More options
Print post
Permalink
not a bug. If you make something draggable, you can't select it's content by clicking and dragging or double clicking, as the drag functionality intercepts your action. You must make a handle if you don't want to affect the content this way.

2009/11/5 Fábio M. Costa <[hidden email]>
Try creating a handler into the div and setting it to be the drag handler.
But it looks like a bug.

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface



On Thu, Nov 5, 2009 at 3:35 PM, dl <[hidden email]> wrote:

I have a div that contains a text element and I make the div
draggable. I then find that I cannot set focus to that text control
using the left click of the mouse. I can right click and get the
context menu, and when I dismiss the context menu the edit controls
has focus and will accept keyboard input but not with the normal left
click.

You can see a live example here: http://giganto-corp.com/moobug/

The problem also exists in chrome although It works fine in IE7.

I'm I doing something wrong or is this a bug? Is there a work around?


The MooTools Tutorial: www.mootorial.com Clientcide: www.clientcide.com