Skip to content

Commit

Permalink
🐛 Fix layout bug on row click (intermittent)
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Nov 6, 2023
1 parent 3791d04 commit 7f9402b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/app/components/PageDrawerContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ export const PageDrawerContent: React.FC<IPageDrawerContentProps> = ({
setDrawerPanelContent(
<>
<DrawerHead>
<span tabIndex={isExpanded ? 0 : -1} ref={drawerFocusRef}>
{drawerHead}
</span>
{drawerHead}
<DrawerActions>
<DrawerCloseButton
// We call onCloseClick here instead of setIsDrawerExpanded
Expand Down

0 comments on commit 7f9402b

Please sign in to comment.