mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 19:17:07 +00:00
prevent certain race conditions in deadkey handling in FF and safari
This commit is contained in:
1 parent
f1dcf85d7b
commit
9f6460ddae
1 file changed
+1
-1
@@ -881,7 +881,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
|
||||
[[_window platformWindow] _propagateCurrentDOMEvent:YES]; // for the _CPNativeInputManager (necessary at least on FF and chrome)
|
||||
|
||||
if ([event charactersIgnoringModifiers].charCodeAt(0) != 229) // filter out 229 because this would be inserted in chrome on each deadkey
|
||||
if (![_CPNativeInputManager isNativeInputFieldActive] && [event charactersIgnoringModifiers].charCodeAt(0) != 229) // filter out 229 because this would be inserted in chrome on each deadkey
|
||||
[self interpretKeyEvents:[event]];
|
||||
|
||||
[_caret setPermanentlyVisible:YES];
|
||||
|
||||
Reference in new issue
Block a user