zhengkaixin 2 年 前
コミット
1307d7b2e0
1 ファイル変更1 行追加1 行削除
  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);