[Enhancement] Support nodes within other frames#156
[Enhancement] Support nodes within other frames#156Craga89 wants to merge 3 commits intoreact-grid-layout:masterfrom
Conversation
Allow support for use within <iframe /> element
|
Hey, nicely done! Could you add a quick test case for it? |
|
Hmmm, I'm not too up-to-date with the |
|
Actually, maybe I just need to test that |
|
Yeah - rendering iframed components is a little crazy IMO and breaks all sorts of assumptions. To test it properly I don't mind installing react-frame-component as a devDep. |
|
👍 I'll give it a shot when I get some time |
|
Closing this in favor of #177 which also handles |
|
Thanks anyhow for the contribution and I apologize that it got left here for this long. |
Added a
getOwnerDocumentutility that resolves the correctdocumentbased on theDraggableCores associated DOMElement. This enables usage ofreact-draggableon nodes that are rendered within an<iframe />.