diff --git a/packages/insomnia/src/ui/components/base/modal.tsx b/packages/insomnia/src/ui/components/base/modal.tsx index 5f7846d4a..a3ace2489 100644 --- a/packages/insomnia/src/ui/components/base/modal.tsx +++ b/packages/insomnia/src/ui/components/base/modal.tsx @@ -1,5 +1,6 @@ import classnames from 'classnames'; import React, { forwardRef, ReactNode, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react'; +import { FocusScope } from 'react-aria'; import { createKeybindingsHandler } from '../keydown-binder'; // Keep global z-index reference so that every modal will @@ -93,22 +94,24 @@ export const Modal = forwardRef(({ }, [handleKeydown]); return (open ? -
-
-
-
- {children} + +
+
+
+
+ {children} +
-
+
: null ); });