From fbaff2b75b2469b389a766a95d2c7b9cc5be26e9 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Wed, 2 Sep 2015 09:00:29 +0200 Subject: [PATCH] fix for FF40+ --- AppKit/CPTextView/CPTextView.j | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 2e65293f0..1255023b5 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -783,7 +783,9 @@ var kDelegateRespondsTo_textShouldBeginEditing - (void)keyDown:(CPEvent)event { - [[_window platformWindow] _propagateCurrentDOMEvent:YES]; // necessary for the _CPNativeInputManager to work + var propagateFlag = CPBrowserIsEngine(CPGeckoBrowserEngine)? NO : YES; + + // [[_window platformWindow] _propagateCurrentDOMEvent:propagateFlag]; // necessary for the _CPNativeInputManager to work if ([_CPNativeInputManager isNativeInputFieldActive]) return;