Skip to content

Commit

Permalink
fix(dialog) Fix close on backdrop
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpin committed Jun 30, 2023
1 parent 322d846 commit a2fd12e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions react/features/base/ui/components/web/BaseDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,10 @@ const BaseDialog = ({

return (
<div className = { cx(classes.container, isUnmounting && 'unmount') }>
<div
className = { classes.backdrop }
onClick = { onBackdropClick } />
<div className = { classes.backdrop } />
<FocusOn
className = { classes.focusLock }
onClickOutside = { onBackdropClick }
returnFocus = {

// If we return the focus to an element outside the viewport the page will scroll to
Expand Down

0 comments on commit a2fd12e

Please sign in to comment.