From 7b2649a9f7b94d1b498c6f2dc630ffb663f94ff1 Mon Sep 17 00:00:00 2001 From: Joe Gregory Date: Wed, 5 Jan 2022 13:43:44 -0800 Subject: [PATCH] fix: new height offset for I/O --- gatsby-browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby-browser.js b/gatsby-browser.js index a973fa435..497c808bc 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -56,7 +56,7 @@ const onClientEntry = () => { }; const shouldUpdateScroll = ({ routerProps: { location } }) => { - const PAGE_OFFSET_HEIGHT = 575; + const PAGE_OFFSET_HEIGHT = 310; const IS_IO = location.pathname.includes('instant-observability'); // scrolls only after search query parameter on I/O site changes