Skip to content

Commit 2b3f335

Browse files
authored
Update README.md
1 parent b87cfd1 commit 2b3f335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Demo: https://trendmicro-frontend.github.io/react-iframe
3030

3131
### Resize iframe to fit content (same domain only)
3232

33-
If you want to avoid polling, use [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) and [resize-event](https://github.com/shama/resize-event) to detect the size of the iframe on content changes.
33+
If you want to avoid polling, use [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) or [iframe-resizer](https://github.com/davidjbradshaw/iframe-resizer) to detect the size of the iframe on content changes.
3434

3535
```js
3636
<Iframe

0 commit comments

Comments
 (0)