Skip to content

Commit ec0d6ff

Browse files
author
Christopher Brown
committed
add another FAQ to readme
1 parent 5c24994 commit ec0d6ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ Shares props with `<BaseModal>`
128128

129129
## FAQ
130130

131+
* Why won't my modal render when `isOpen` is set to `true`?
132+
133+
You most likely haven't placed a `<div id="modal-root"></div>` within your HTML file. Without this, the modal doesn't know where to render to. If that doesn't fix the issue, feel free to open a new issue on this repository.
134+
131135
* Why am I getting `ReferenceError: globalThis is not defined`?
132136

133137
You're using this library in an environment that does not support the `globalThis` keyword out-of-the-box. You will need to **use a polyfill for `globalThis`** to fix the error. I recommend that you use [@ungap/global-this](https://github.com/ungap/global-this)

0 commit comments

Comments
 (0)