Skip to content

Commit

Permalink
🐛 Fix layout issue when clicking between columns
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 committed Nov 7, 2023
1 parent 93bb366 commit a23a3e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/app/components/PageDrawerContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ export const PageDrawerContent: React.FC<IPageDrawerContentProps> = ({

// If the drawer is already expanded describing app A, then the user clicks app B, we want to send focus back to the drawer.
React.useEffect(() => {
drawerFocusRef?.current?.focus();
// TODO: This line introduces a layout issue bug when clicking in between the columns of a table.
// drawerFocusRef?.current?.focus();
}, [drawerFocusRef, focusKey]);

React.useEffect(() => {
Expand Down

0 comments on commit a23a3e0

Please sign in to comment.