Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

goJS diagram eating mouse up event

$
0
0

@catface wrote:

Hi,

I'm using goJS version 1.6.17.

if I put a html input textbox next to a gojs diagram... when I try to select the text in the html input by clicking, dragging and then releasing the mouse over the diagram the text does not get selected.

I tried doing this:

diagram.toolManager.doMouseUp = function () {
    go.ToolManager.prototype.doMouseUp.call(this);
    diagram.lastInput.handled = false;
    diagram.lastInput.bubbles = true;
};

but it didn't help... :(

it helps if I don't call the go.ToolManager.prototype.doMouseUp function... then the text can be selected just fine in my scenario.
but I guess doMouseUp function is pretty important to goJS... :D

so... any ideas?

it's easy to test... just inject a textbox into any sample page and you'll see the issue.

Posts: 13

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles