feat: Invert scroll arrow default in RadioButtonSelect (#4006)

This commit is contained in:
N. Taylor Mullen
2025-07-12 20:58:00 -07:00
committed by GitHub
parent 26a79fec25
commit 09a3b7d5e1
2 changed files with 2 additions and 2 deletions

View File

@@ -203,6 +203,7 @@ export function ThemeDialog({
onHighlight={onHighlight}
isFocused={currenFocusedSection === 'theme'}
maxItemsToShow={8}
showScrollArrows={true}
/>
{/* Scope Selection */}
@@ -217,7 +218,6 @@ export function ThemeDialog({
onSelect={handleScopeSelect}
onHighlight={handleScopeHighlight}
isFocused={currenFocusedSection === 'scope'}
showScrollArrows={false}
/>
</Box>
)}

View File

@@ -53,7 +53,7 @@ export function RadioButtonSelect<T>({
onSelect,
onHighlight,
isFocused,
showScrollArrows = true,
showScrollArrows = false,
maxItemsToShow = 10,
}: RadioButtonSelectProps<T>): React.JSX.Element {
const [activeIndex, setActiveIndex] = useState(initialIndex);