You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This avoids the following warning. Although the test setup adds a div
with id of "app", that's not in the dom at the point the InputModal
attempts to find it with `document.querySelector("#app")` and
`document.getElementById("app")`.
console.error
Warning: react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`.
0 commit comments