diff --git a/src/components/Views/FacetedSearch.jsx b/src/components/Views/FacetedSearch.jsx index 5ce1928d..6b56f2ab 100644 --- a/src/components/Views/FacetedSearch.jsx +++ b/src/components/Views/FacetedSearch.jsx @@ -498,6 +498,8 @@ const FacetedSearch = ({ // Cancel the default action, if needed event.preventDefault(); el.scrollIntoView(); + // var elmTop = el.getBoundingClientRect().top + window.scrollY; + // window.scrollTo({top: elmTop, behavior: 'smooth',}); } } // track if enabled