Skip to content

Commit 9024564

Browse files
authored
Merge pull request #105 from KasperskyLab/feature/disable-dropdown-focus-on-first-item
fix: disable dropdown focus on the first line
2 parents 6c89076 + 5af86de commit 9024564

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/kaspersky-hexa-ui/src/dropdown/Dropdown.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ const DropdownViewComponent: FC<DropdownViewProps> = ({
3232
}, 0)
3333
}, [])
3434
const newOnVisibleChange = useCallback((opened: boolean) => {
35-
focusOnFirstItem()
3635
onVisibleChange?.(opened)
3736
}, [onVisibleChange, focusOnFirstItem])
3837
return <AntDropdown {...props} onVisibleChange={newOnVisibleChange} />

0 commit comments

Comments
 (0)