zhengkaixin hace 2 años
padre
commit
1307d7b2e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -6,7 +6,7 @@
 
 <script>
 	window.addEventListener('resize', () => {
-		if (document.activeElement.tagName == 'INPUT') {                      
+		if (document.activeElement.tagName == 'INPUT'||document.activeElement.tagName == 'TEXTAREA') {                      
 		window.setTimeout(() => { 
 			document.activeElement.scrollIntoViewIfNeeded();            
 		}, 100);