Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Back and forward touchpad gestures don't work on macOS
Open rudolfs opened 1 year ago bug

This is really weird but for some reason in chrome & arc the back / forward touchpads gestures don’t work for me on the radicle UI, but they work on any other website.

Originally reported by Jason.

The issue seems to be that we set overscroll-behavior to none globally. We did this to prevent the side and top-bars to move out of the viewport due to the overscroll rubber band effect. This seems to also disable the back/forward gestures.

With this change the gestures work, but we undo the rubber-band fix:

diff --git a/public/index.css b/public/index.css
index 648539dd..f6101c27 100644
--- a/public/index.css
+++ b/public/index.css
@@ -32,7 +32,6 @@ body {
   scrollbar-width: thin;
   scrollbar-height: thin;
   scrollbar-color: var(--color-fill-separator) transparent;
-  overscroll-behavior: none;
 }

 ::selection {