diff --git a/src/pages/catchup.jsx b/src/pages/catchup.jsx index 760df4a9..2fdcf2f3 100644 --- a/src/pages/catchup.jsx +++ b/src/pages/catchup.jsx @@ -822,6 +822,22 @@ function Catchup() { }, ); + const handleArrowKeys = useCallback((e) => { + const activeElement = document.activeElement; + const isRadio = + activeElement?.tagName === 'INPUT' && activeElement.type === 'radio'; + const isArrowKeys = + e.key === 'ArrowDown' || + e.key === 'ArrowUp' || + e.key === 'ArrowLeft' || + e.key === 'ArrowRight'; + if (isArrowKeys && isRadio) { + // Note: page scroll won't trigger on first arrow key press due to this. Subsequent presses will. + activeElement.blur(); + return; + } + }, []); + return (