Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<embed> doesn't trigger onLoad #15613

Closed
cherniavskii opened this issue May 10, 2019 · 1 comment · Fixed by #15614
Closed

<embed> doesn't trigger onLoad #15613

cherniavskii opened this issue May 10, 2019 · 1 comment · Fixed by #15614

Comments

@cherniavskii
Copy link
Contributor

Do you want to request a feature or report a bug?
Bug.

What is the current behavior?
<embed> doesn't trigger onLoad

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

https://codesandbox.io/s/9yrqzw71xp

What is the expected behavior?
<embed> should trigger onLoad

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.8.6

@omriLugasi
Copy link

Side Note
According to MDN(embed) and see also Global_attributes
The <embed> can include the onload event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants