From 78ed37a1c02f4dbbcd1dc566ec0d43017f6db50b Mon Sep 17 00:00:00 2001 From: avivkeller Date: Fri, 9 Oct 2026 21:32:57 -0400 Subject: [PATCH] fix: trackpad navigation --- .changeset/swipe-navigation.md | 5 +++++ packages/react/src/html/ui/index.css | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/swipe-navigation.md diff --git a/.changeset/swipe-navigation.md b/.changeset/swipe-navigation.md new file mode 100644 index 00000000..53bc9fcd --- /dev/null +++ b/.changeset/swipe-navigation.md @@ -0,0 +1,5 @@ +--- +'@doc-kit/generator-react': patch +--- + +Allow trackpad swipe back and forward navigation diff --git a/packages/react/src/html/ui/index.css b/packages/react/src/html/ui/index.css index 36613487..2aa7e056 100644 --- a/packages/react/src/html/ui/index.css +++ b/packages/react/src/html/ui/index.css @@ -47,7 +47,7 @@ @media (pointer: fine) { html { - overscroll-behavior: none; + overscroll-behavior-y: none; } }