File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 23
23
box-shadow : 0 0 30px rgba (0 , 0 , 0 , 0.3 );
24
24
outline : none;
25
25
}
26
-
27
- body : has (.solve-exercise-page-react-modal-overlay ) {
28
- overflow : hidden;
29
- }
Original file line number Diff line number Diff line change 18
18
@import "../bootcamp/components/toggle-switch" ;
19
19
@import "../bootcamp/components/test-buttons" ;
20
20
@import "../bootcamp/components/scenario" ;
21
+ @import "../bootcamp/components/modal" ;
21
22
22
23
@import "../bootcamp/components/project-widget" ;
23
24
@import "../bootcamp/components/exercise-widget" ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import Modal from 'react-modal'
3
3
import { assembleClassNames } from '@/utils/assemble-classnames'
4
4
import { SolveExercisePageContext } from '../SolveExercisePageContextWrapper'
5
5
6
+ Modal . setAppElement ( 'body' )
6
7
export function ResetButton ( ) {
7
8
const [ shouldOpenConfirmationModal , setShouldOpenConfirmationModal ] =
8
9
useState ( false )
@@ -24,6 +25,7 @@ export function ResetButton() {
24
25
25
26
{ /* @ts -ignore */ }
26
27
< Modal
28
+ ariaHideApp = { false }
27
29
isOpen = { shouldOpenConfirmationModal }
28
30
className = "solve-exercise-page-react-modal-content flex flex-col items-center justify-center text-center max-w-[500px]"
29
31
overlayClassName = "solve-exercise-page-react-modal-overlay"
You can’t perform that action at this time.
0 commit comments