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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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