diff --git a/gatsby-browser.js b/gatsby-browser.js index 497c808bc..c882fdadd 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -56,6 +56,7 @@ const onClientEntry = () => { }; const shouldUpdateScroll = ({ routerProps: { location } }) => { + // Offset updates scroll to position beneath the I/O Banner on category/search change const PAGE_OFFSET_HEIGHT = 310; const IS_IO = location.pathname.includes('instant-observability');