Skip to content

Commit

Permalink
fix: Resolve tab navigation issue in Firefox (#4562)
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Brandstetter <[email protected]>
  • Loading branch information
Aejkatappaja and brandstetterm authored Nov 8, 2024
1 parent 60863ef commit b55eedd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ColorPicker/ColorPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const ColorPicker = (props: ColorPickerProps) => {
}

return (
<ReactFocusLock autoFocus={false} className="fix-focus-lock-placement">
<ReactFocusLock autoFocus className="fix-focus-lock-placement">
<ul className="color-picker">
<li className={`${getColorClassName(props.activeColor)} color-picker__item`}>
<button
Expand Down
2 changes: 1 addition & 1 deletion src/components/MiniMenu/MiniMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type MiniMenuProps = {
};

export const MiniMenu = ({className, items}: MiniMenuProps) => (
<ReactFocusLock autoFocus={false}>
<ReactFocusLock autoFocus>
<div className={classNames(className, "mini-menu")}>
{items.map((item) => {
const anchor = uniqueId(`mini-menu-${item.label}`);
Expand Down

0 comments on commit b55eedd

Please sign in to comment.