Skip to content

Commit

Permalink
Load iframe resizer asynchronously (gradio-app#4336)
Browse files Browse the repository at this point in the history
Refs gradio-app#4332

Co-authored-by: pngwn <[email protected]>
Co-authored-by: Abubakar Abid <[email protected]>
  • Loading branch information
3 people authored Jun 19, 2023
1 parent d6b6c87 commit 1068371
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ No changes to highlight.

## Bug Fixes:

- Load the iframe resizer external asset asynchronously, by [@akx](https://github.com/akx) in [PR 4336](https://github.com/gradio-app/gradio/pull/4336)
- Restored missing imports in `gr.components` by [@abidlabs](https://github.com/abidlabs) in [PR 4566](https://github.com/gradio-app/gradio/pull/4566)
- Fix bug where `select` event was not triggered in `gr.Gallery` if `height` was set to be large with `allow_preview=False` by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 4551](https://github.com/gradio-app/gradio/pull/4551)
- Fix bug where setting `visible=False` in `gr.Group` event did not work by [@abidlabs](https://github.com/abidlabs) in [PR 4567](https://github.com/gradio-app/gradio/pull/4567)

## Other Changes:

No changes to highlight.
Expand Down Expand Up @@ -55,7 +57,6 @@ No changes to highlight.

No changes to highlight.


# 3.35.0

## New Features:
Expand Down
5 changes: 4 additions & 1 deletion js/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"
async
></script>
</head>

<body
Expand Down

0 comments on commit 1068371

Please sign in to comment.