Unverified Commit ea6e029d authored by Siddharth's avatar Siddharth Committed by GitHub

Fix parameter moving under cursor cancels field editing (#2405)

parent 97a6a496
...@@ -141,7 +141,8 @@ Blockly.FieldFlydown.prototype.showFlydownMaker_ = function() { ...@@ -141,7 +141,8 @@ Blockly.FieldFlydown.prototype.showFlydownMaker_ = function() {
var field = this; // Name receiver in variable so can close over this variable in returned thunk var field = this; // Name receiver in variable so can close over this variable in returned thunk
return function() { return function() {
if (Blockly.FieldFlydown.showPid_ !== 0 && if (Blockly.FieldFlydown.showPid_ !== 0 &&
Blockly.dragMode_ === Blockly.DRAG_NONE) { Blockly.dragMode_ === Blockly.DRAG_NONE &&
Blockly.FieldTextInput.htmlInput_ === null) {
try { try {
field.showFlydown_(); field.showFlydown_();
} catch (e) { } catch (e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment