Skip to content

Commit

Permalink
fix(a11y/ModalDialog): reduce behavioral changes after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarpl committed Jan 31, 2024
1 parent 91113fc commit 6ac350b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions meteor/client/lib/ModalDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,19 @@ export function ModalDialog({
runOnMount={true}
>
<div className="glass-pane">
<div className="glass-pane-content">
<VelocityReact.VelocityTransitionGroup
enter={{
animation: {
translateY: [0, 100],
opacity: [1, 0],
},
easing: 'spring',
duration: 250,
}}
runOnMount={true}
>
<FocusBounder>
<FocusBounder>
<div className="glass-pane-content">
<VelocityReact.VelocityTransitionGroup
enter={{
animation: {
translateY: [0, 100],
opacity: [1, 0],
},
easing: 'spring',
duration: 250,
}}
runOnMount={true}
>
<dialog
open={true}
className={'border-box overlay-m ' + className || ''}
Expand Down Expand Up @@ -252,9 +252,9 @@ export function ModalDialog({
</button>
</div>
</dialog>
</FocusBounder>
</VelocityReact.VelocityTransitionGroup>
</div>
</VelocityReact.VelocityTransitionGroup>
</div>
</FocusBounder>
</div>
</VelocityReact.VelocityTransitionGroup>
</Escape>
Expand Down

0 comments on commit 6ac350b

Please sign in to comment.