Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 08b1fdb

Browse files
committed
Fix toolbar no longer handling left & right arrows
1 parent e6e7885 commit 08b1fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accessibility/Toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const Toolbar: React.FC<IProps> = ({ children, ...props }) => {
5252
}
5353
};
5454

55-
return <RovingTabIndexProvider handleHomeEnd={true} onKeyDown={onKeyDown}>
55+
return <RovingTabIndexProvider handleHomeEnd handleLeftRight onKeyDown={onKeyDown}>
5656
{ ({ onKeyDownHandler }) => <div {...props} onKeyDown={onKeyDownHandler} role="toolbar">
5757
{ children }
5858
</div> }

0 commit comments

Comments
 (0)