feat: add circular scrolling to GotoAnything command menu (#25662)

This commit is contained in:
lyzno1 2025-09-14 14:07:10 +08:00 • committed by GitHub
commit 9e7328abfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -284,6 +284,7 @@ const GotoAnything: FC<Props> = ({
value={cmdVal} value={cmdVal}
onValueChange={setCmdVal} onValueChange={setCmdVal}
disablePointerSelection disablePointerSelection
loop
> >
<div className='flex items-center gap-3 border-b border-divider-subtle bg-components-panel-bg-blur px-4 py-3'> <div className='flex items-center gap-3 border-b border-divider-subtle bg-components-panel-bg-blur px-4 py-3'>
<RiSearchLine className='h-4 w-4 text-text-quaternary' /> <RiSearchLine className='h-4 w-4 text-text-quaternary' />