1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 21:26:33 +02:00

fix: unable to horizontally scroll when pull to refresh is enabled (#16273)

This commit is contained in:
anatawa12
2025-07-12 15:00:06 +09:00
committed by GitHub
parent c165749a29
commit e26369ed48
2 changed files with 3 additions and 2 deletions

View File

@@ -69,13 +69,13 @@ function getScreenY(event: TouchEvent | MouseEvent | PointerEvent): number {
function lockDownScroll() {
if (scrollEl == null) return;
scrollEl.style.touchAction = 'pan-x pan-down pinch-zoom';
scrollEl.style.overscrollBehavior = 'none';
scrollEl.style.overscrollBehavior = 'auto none';
}
function unlockDownScroll() {
if (scrollEl == null) return;
scrollEl.style.touchAction = 'auto';
scrollEl.style.overscrollBehavior = 'contain';
scrollEl.style.overscrollBehavior = 'auto contain';
}
function moveStartByMouse(event: MouseEvent) {