From d2da31d860efc076fec5e2a97beb5af162c7a680 Mon Sep 17 00:00:00 2001 From: "Collin M. 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