diff --git a/website/src/components/detailsToggle/index.js b/website/src/components/detailsToggle/index.js index d1ee63c8a38..514ca52ba13 100644 --- a/website/src/components/detailsToggle/index.js +++ b/website/src/components/detailsToggle/index.js @@ -28,7 +28,8 @@ function detailsToggle({ children, alt_header = null }) { const handleScroll = () => { setIsScrolling(true); clearTimeout(hoverTimeout); - setOn(false); + //setOn(false); + // Reset scrolling state after a delay setTimeout(() => { diff --git a/website/src/components/detailsToggle/styles.module.css b/website/src/components/detailsToggle/styles.module.css index b9c2f09df06..b3f4a4886dc 100644 --- a/website/src/components/detailsToggle/styles.module.css +++ b/website/src/components/detailsToggle/styles.module.css @@ -27,6 +27,7 @@ width: 1.25rem; vertical-align: middle; transition: transform 0.3s; /* Smooth transition for toggle icon */ + } :local(.toggleUpsideDown) {