From 95594bd0700b70419c54f98a0423b720e655c99d Mon Sep 17 00:00:00 2001 From: marisaleung Date: Thu, 22 Jun 2017 10:59:12 -0700 Subject: [PATCH] Always open flyout fields are editable. --- core/gesture.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/gesture.js b/core/gesture.js index 8d38858bc..20f5e1451 100644 --- a/core/gesture.js +++ b/core/gesture.js @@ -741,7 +741,8 @@ Blockly.Gesture.prototype.isBlockClick_ = function() { Blockly.Gesture.prototype.isFieldClick_ = function() { var fieldEditable = this.startField_ ? this.startField_.isCurrentlyEditable() : false; - return fieldEditable && !this.hasExceededDragRadius_ && !this.flyout_; + return fieldEditable && !this.hasExceededDragRadius_ && (!this.flyout_ || + !this.flyout_.autoClose); }; /**