From 8200e36b89ddf9ac2d67c65afcec53af06d4785a Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 26 Jun 2019 22:09:52 -0700 Subject: [PATCH] fix: Accessibility warning with react-modal --- app/components/Modal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/Modal.js b/app/components/Modal.js index 85dfa4111..1f696d3ff 100644 --- a/app/components/Modal.js +++ b/app/components/Modal.js @@ -9,6 +9,8 @@ import { CloseIcon } from 'outline-icons'; import { fadeAndScaleIn } from 'shared/styles/animations'; import Flex from 'shared/components/Flex'; +ReactModal.setAppElement('#root'); + type Props = { children?: React.Node, isOpen: boolean,