Index: third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js |
index 836998c63ec968f17b90cde4252d3005281a4dc9..86dcdc5d70e3e3367b0e1f44f0aabaf1994b79be 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/InplaceEditor.js |
@@ -166,8 +166,9 @@ UI.InplaceEditor = class { |
event.consume(true); |
} else if (result && result.startsWith('move-')) { |
moveDirection = result.substring(5); |
- if (event.key !== 'Tab') |
- blurEventListener(); |
+ if (event.key === 'Tab') |
+ event.consume(true); |
+ blurEventListener(); |
} |
} |