mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Opt out of command registration for textInput events
There seems to be issues capturing them when they are programmatically dispatched via dispatchEvent. This was causing problems for the vim-mode specs. This event belongs among the native events that aren’t treated as commands anyway.
This commit is contained in:
@@ -19,7 +19,8 @@ NativeEventNames = new Set
|
||||
NativeEventNames.add(nativeEvent) for nativeEvent in ["blur", "focus", "focusin",
|
||||
"focusout", "load", "resize", "scroll", "unload", "click", "dblclick", "mousedown",
|
||||
"mouseup", "mousemove", "mouseover", "mouseout", "mouseenter", "mouseleave", "change",
|
||||
"select", "submit", "keydown", "keypress", "keyup", "error", "contextmenu"]
|
||||
"select", "submit", "keydown", "keypress", "keyup", "error", "contextmenu", "textInput",
|
||||
"textinput"]
|
||||
|
||||
JQueryTrigger = jQuery.fn.trigger
|
||||
jQuery.fn.trigger = (eventName, data) ->
|
||||
|
||||
Reference in New Issue
Block a user