primefaces: does not work on FF in 10.0.3 - Probably related to #7395
With PF 10.0.3 onload events on <h:body/> are not executed in FF (89.02) any longer. - on Chrome and Edge it works fine. In 10.0.2 it worked on FF as well.
Example: …
<h:body onload="console.log('Here I am')">
... content ..
</h:body>
On Chrome, and Edge, the ‘onload’-js will be executed - on FF not.
Taking a look at the rendered HTML, you see that it is different on FF compared to the other browsers.
EDGE, Chrome:
<body onload="console.log('Here I am')">
..content ..
</body>
FF:
<body>
<script>/*FIREFOX_FOUC_FIX*/</script>
<div onload="console.log('Here I am')">
</div>
.. content..
</body>
Suppose the support of the ‘onload’ method in the ‘div’ tag may not be standard.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (15 by maintainers)
Commits related to this issue
- #7478 — committed to primefaces/primefaces by tandraschko 3 years ago
Have tested with 10.0.4. The issue does not occur any more - works fine. Thanks for the quick fix.