From ffea1cceab43788a9c54532214bddf3d99ebe74f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 15 Apr 2023 19:19:43 +0800 Subject: [PATCH] Potential fix for scrolling bug on iPad --- src/app.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.css b/src/app.css index 7b90e1d5..05ea665c 100644 --- a/src/app.css +++ b/src/app.css @@ -53,6 +53,8 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) { overscroll-behavior: contain; scroll-behavior: smooth; background-color: var(--bg-color); + /* This `transform` fixes carousel blocking vertical scrolling for pointer devices on iPad */ + transform: translateZ(0); } .deck-container[hidden] { display: block;