firegestures icon indicating copy to clipboard operation
firegestures copied to clipboard

key event return don't work in a facebook chatbox

Open Gurzo opened this issue 11 years ago • 0 comments

I set a gesture to send the return key to quickly send messages that I copied and pasted. FireGestures.sendKeyEvent({ keyCode: "DOM_VK_RETURN" }); the event works well in most of the search form, type google etc, but if I do it in the chatbox of facebook, I get a carriage return (like you get with ALT + RETURN). i don't want use RETURN, but the specification of the key codes that read: DOM_VK_ENTER has been never used for representing native key events. Therefore, it's removed for preventing developers being confused. why?

Gurzo avatar Jan 05 '15 00:01 Gurzo