From 2260a238b4c904bf06b62f2df7034f3c8bf77b4d Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Sat, 17 Feb 2018 08:56:38 -0600 Subject: [PATCH] call ReactModal.setAppElement for accessibility --- src/FilterLists.Web/ClientApp/boot.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FilterLists.Web/ClientApp/boot.tsx b/src/FilterLists.Web/ClientApp/boot.tsx index cf67dff57..4ea39e0e0 100644 --- a/src/FilterLists.Web/ClientApp/boot.tsx +++ b/src/FilterLists.Web/ClientApp/boot.tsx @@ -6,6 +6,9 @@ import { AppContainer } from "react-hot-loader"; import { BrowserRouter } from "react-router-dom"; import * as RoutesModule from "./routes"; let routes = RoutesModule.routes; +import * as ReactModal from "react-modal"; + +ReactModal.setAppElement("#react-app"); function renderApp() { // This code starts up the React app when it runs in a browser. It sets up the routing