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

GoJS consume keydown event

$
0
0

@chabbey wrote:

I have a keydown handler on an ancestor div that contains the goJS canvas.

When i press the 'esc' key, GoJS consumes the keydown event and do not let it reaches the ancestor div. I suppose it is because esc is used to cancel the selection. Is there a way to let the keydown event bubbles up the DOM tree ? ( if a press 'a' or 'b' key, everything works fine, the keydown is detected by the ancestor div )

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles