-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
sap.f.SidepanelItem does not render SVG Icon #3985
Comments
Hello @osama571 , That's a planned behaviour, but we see this as a way for improvement. We've opened an internal feature request with id DINC0088692. We will follow up when more information is available. Best Regards, |
Hello @tsanislavgatev I undastand that this was indicated as being by design earlier, but now I see that it's not convenient for use, especially on mobile devices. In the screenshot, I've highlighted the space with the SidePanel. |
OpenUI5 version: 1.121.0
Browser/version (+device/version): windows 10/chrome(v. 121.0.6167.189)
Steps to reproduce the problem:
What is the expected result? SVG should be rendered
What happens instead? SVG does not render
Hallo,
I am using sap.f.SidePanel and I am having hard time to use SVG Icon for SidePanelItem.
the SidepanelItem has a property called Icon, which is of type sap.ui.core.URI (just like the sap.m.Button control).
But I noticed that its only works for font icons. in other hand the sap.m.button does spport SVG Icon
which has the same property and type (sap.ui.core.URI).
So I checked the source code for sap.m.Button and sap.f.SidePanelItem.
I noticed that the Button control uses Image instead of core.Icon if the Icon is not Font.
but it does not do the same for sap.f.SidepanelItem, is this intended behavior or is it just missing feature?
Thanks in advance
The text was updated successfully, but these errors were encountered: