モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160)
This commit is contained in:
		
							parent
							
								
									7be09a4af9
								
							
						
					
					
						commit
						f14aba65c5
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -14,6 +14,10 @@ if (isTouchSupported) { | |||
| 	}, { passive: true }); | ||||
| 	 | ||||
| 	window.addEventListener('touchend', () => { | ||||
| 		// 子要素のtouchstartイベントでstopPropagation()が呼ばれると親要素に伝搬されずタッチされたと判定されないため、
 | ||||
| 		// touchendイベントでもtouchstartイベントと同様にtrueにする
 | ||||
| 		isTouchUsing = true; | ||||
| 
 | ||||
| 		isScreenTouching = false; | ||||
| 	}, { passive: true }); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue