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 instanceOf HTMLElement to work across contexts #968

Merged
merged 1 commit into from Jan 14, 2018

Conversation

dfdeagle47
Copy link
Contributor

#900 fixed an issue with iframes/child windows.

One important change was to update the HTMLElement instance check to work across contexts in AutoSizer.js.

There's still one other HTML instance check in CellMeasurer.js which was not updated to work across contexts.

This PR fixes this.

dfdeagle47 referenced this pull request Jan 14, 2018
…d windows (#900)

* Update AutoSizer to support using a remote window as portal render target

* Create detectElementResize CSS in the window containing the rendered AutoSizer.
* Create the resize trigger element using the document containing the rendered AutoSizer.

* Update HTMLElement instance check to work across contexts
@bvaughn
Copy link
Owner

bvaughn commented Jan 14, 2018

Nice catch! 😁 Verified locally. Thanks!

@bvaughn bvaughn merged commit 533920e into bvaughn:master Jan 14, 2018
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.

None yet

2 participants