zhengkaixin 2 éve
szülő
commit
1307d7b2e0
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);