react-modal
react-modal copied to clipboard
[fixed] `appElement` detection...
We can't use window.HTMLElement to check the appElement
when combined with an iframe.
window.HTMLElement !== window.HTMLElement (on the iframe)
Fixes #871.
Changes proposed:
- We can't use window.HTMLElement.
Upgrade Path (for changed or removed APIs):
Acceptance Checklist:
- [x] The commit message follows the guidelines in
CONTRIBUTING.md
. - [x] Documentation (README.md) and examples have been updated as needed.
- [x] If this is a code change, a spec testing the functionality has been added.
- [ ] If the commit message has [changed] or [removed], there is an upgrade path above.