Prechádzať zdrojové kódy

ignore more inputs wrt keystrokes

Nicolas Cannasse 4 rokov pred
rodič
commit
b69cfcb8e6
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      hide/ui/View.hx

+ 1 - 1
hide/ui/View.hx

@@ -101,7 +101,7 @@ class View<T> extends hide.comp.Component {
 			return true;
 			return true;
 		if( active.nodeName == "INPUT" ) {
 		if( active.nodeName == "INPUT" ) {
 			var type = (""+active.getAttribute("type")).toLowerCase();
 			var type = (""+active.getAttribute("type")).toLowerCase();
-			if( type == "text" || type == "null" )
+			if( type == "text" || type == "null" || type == "number" || type == "password" || type == "date" )
 				return true;
 				return true;
 		}
 		}
 		return false;
 		return false;