Skip to content
Snippets Groups Projects
Unverified Commit f14aba65 authored by xianon's avatar xianon Committed by GitHub
Browse files

モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160)

parent 7be09a4a
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ if (isTouchSupported) {
}, { passive: true });
window.addEventListener('touchend', () => {
// 子要素のtouchstartイベントでstopPropagation()が呼ばれると親要素に伝搬されずタッチされたと判定されないため、
// touchendイベントでもtouchstartイベントと同様にtrueにする
isTouchUsing = true;
isScreenTouching = false;
}, { passive: true });
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment