feat: Added a conflict resolution dialog and a Conflicts view for easier management of conflicts (#2337)
This commit is contained in:
@@ -109,6 +109,12 @@ export const useListKeyboardNavigation = (
|
||||
}
|
||||
}, [setInitialFocus, shouldAutoFocus])
|
||||
|
||||
useEffect(() => {
|
||||
if (listItems.current.length > 0) {
|
||||
listItems.current[0].tabIndex = 0
|
||||
}
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
const containerElement = container.current
|
||||
containerElement?.addEventListener('keydown', keyDownHandler)
|
||||
|
||||
Reference in New Issue
Block a user