mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Fixed issue with calculating input focus on different input types
This commit is contained in:
@@ -551,7 +551,10 @@ Blockly.removeAllRanges = function() {
|
||||
* @private
|
||||
*/
|
||||
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';
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user