zhengkaixin před 2 roky
rodič
revize
1307d7b2e0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);