Skip to content

Commit

Permalink
Expose WebView prop.onLoadEnd to Sandbox (#50265)
Browse files Browse the repository at this point in the history
Co-authored-by: jhnstn <jhnstn@pm.me>
  • Loading branch information
jhnstn and jhnstn authored May 8, 2023
1 parent fa1d3b0 commit 6311d04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/sandbox/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ const Sandbox = forwardRef( function Sandbox(
url,
onWindowEvents = {},
viewportProps = '',
onLoadEnd = () => {},
},
ref
) {
Expand Down Expand Up @@ -372,6 +373,7 @@ const Sandbox = forwardRef( function Sandbox(
showsHorizontalScrollIndicator={ false }
showsVerticalScrollIndicator={ false }
mediaPlaybackRequiresUserAction={ false }
onLoadEnd={ onLoadEnd }
/>
);
} );
Expand Down

1 comment on commit 6311d04

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6311d04.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4919666047
📝 Reported issues:

Please sign in to comment.