Closed firesharker closed 1 year ago
Apparently the issue is present on any sap.m.OverflowToolbar
, not specific to sap.tnt.ToolHeader
.
Adding data-sap-ui-xx-waitfortheme="init"
to the bootstrap config helps, which indicates that there is a race condition probably.
Hello @firesharker ,
Thank you for sharing this finding. I've created an internal incident 2280180501. The status of the issue will be updated here in GitHub.
Regards, Lidiya
Hi @firesharker , apologies for the big delay. The fix will be released in version 1.115.0 . Best regards, Petya Markova. (UI5 developer)
OpenUI5 version: 1.108.0
Browser/version (+device/version): latest firefox
Any other tested browsers/devices(OK/FAIL): chrome works OK
URL (minimal example if possible): jsfiddle reproducer
Steps to reproduce the problem:
What is the expected result? The two logos should always be visible even if the overflow menu appears.
What happens instead? The OpenUI5 logo disappears when the overfow menu appears. Sometimes the UI5 logo does not even show up or flashes once and disappears.
Any other information? The issue is that if the svg image does not have
width
(andheight
) property set on the rootsvg
node, then the natural with of the image dom node will be 0 on firefox which is used to determine whether the image has been loaded correctly.So currently svgs like this do not work:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 92 45">
but this does:<svg xmlns="http://www.w3.org/2000/svg" width="92" height="45" viewBox="0 0 92 45">
Wrong (firefox):
Correct (chrome):