From f756f23d6ee1811a36a465513137aa13ab833166 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 11 Feb 2023 17:04:48 +0800 Subject: [PATCH] Better menu overflow + bounding box 8 is a magic number --- src/components/menu.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/menu.jsx b/src/components/menu.jsx index 90048eca..8ec5d3f7 100644 --- a/src/components/menu.jsx +++ b/src/components/menu.jsx @@ -14,7 +14,9 @@ function NavMenu(props) { target: document.body, }} {...props} + overflow="auto" viewScroll="close" + boundingBoxPadding="8 8 8 8" menuButton={