Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixed] appElement detection... #872

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

diasbruno
Copy link
Collaborator

@diasbruno diasbruno commented May 14, 2021

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:

  • The commit message follows the guidelines in CONTRIBUTING.md.
  • Documentation (README.md) and examples have been updated as needed.
  • 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.

@coveralls
Copy link

coveralls commented May 14, 2021

Coverage Status

Coverage increased (+0.002%) to 85.602% when pulling 07ba54a on fix/appElement-property-detection into 76df16b on master.

@diasbruno diasbruno force-pushed the fix/appElement-property-detection branch from 8b8b12c to badc644 Compare May 14, 2021 14:59
We can't use window.HTMLElement to check the `appElement`
when combined in a iframe.

window.HTMLElement !== window.HTMLElement (on the iframe)
@diasbruno diasbruno force-pushed the fix/appElement-property-detection branch from badc644 to a29494f Compare May 14, 2021 15:14
We can't use window.HTMLElement to check the `appElement`
when combined in a iframe.

window.HTMLElement !== window.HTMLElement (on the iframe)
@diasbruno diasbruno force-pushed the fix/appElement-property-detection branch from a29494f to 7517be6 Compare May 16, 2021 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed prop type: Invalid prop appElement supplied to Modal.
2 participants