Commit b950e56c authored by Ryan Loader's avatar Ryan Loader

Fixed issue with calculating input focus on different input types

parent d05177e1
...@@ -551,7 +551,10 @@ Blockly.removeAllRanges = function() { ...@@ -551,7 +551,10 @@ Blockly.removeAllRanges = function() {
* @private * @private
*/ */
Blockly.isTargetInput_ = function(e) { Blockly.isTargetInput_ = function(e) {
return e.target.type == 'textarea' || e.target.type == 'text'; return e.target.type == 'textarea' || e.target.type == 'text'
|| e.target.type == 'number' || e.target.type == 'email'
|| e.target.type == 'password' || e.target.type == 'search'
|| e.target.type == 'tel' || e.target.type == 'url';
}; };
/** /**
......
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