@betterstore/react 0.3.62 → 0.3.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -530,7 +530,8 @@ const IframeWrapper = ({ children, iframeRef, wrapperRef, }) => {
|
|
|
530
530
|
if (!iframeDoc)
|
|
531
531
|
return;
|
|
532
532
|
const updateHeight = () => {
|
|
533
|
-
|
|
533
|
+
const newHeight = iframeDoc.body.scrollHeight + 100;
|
|
534
|
+
iframe.style.height = `${newHeight}px`;
|
|
534
535
|
};
|
|
535
536
|
const onLoad = () => {
|
|
536
537
|
// Remove previous style if it exists
|
package/dist/index.mjs
CHANGED
|
@@ -507,7 +507,8 @@ const IframeWrapper = ({ children, iframeRef, wrapperRef, }) => {
|
|
|
507
507
|
if (!iframeDoc)
|
|
508
508
|
return;
|
|
509
509
|
const updateHeight = () => {
|
|
510
|
-
|
|
510
|
+
const newHeight = iframeDoc.body.scrollHeight + 100;
|
|
511
|
+
iframe.style.height = `${newHeight}px`;
|
|
511
512
|
};
|
|
512
513
|
const onLoad = () => {
|
|
513
514
|
// Remove previous style if it exists
|