Skip to content

Commit

Permalink
Allow closed state to be passed to Dialog for proper transition handling
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Jul 25, 2023
1 parent 202b853 commit f1aeeb9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/feedback/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ const Dialog = function Dialog({
}: DialogProps) {
const modalRef = useSyncedRef(elementRef);
const restoreFocusEl = useRef<HTMLElement | null>(null);
const isClosableDialog = !!onClose;

// TODO To properly handle closing/opening with a TransitionComponent, these
// two pieces of state need to be synced with the `closed` prop.
Expand Down

0 comments on commit f1aeeb9

Please sign in to comment.