openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.tnt.NavigationListItem does not display user defined icons

Open McShelby opened this issue 10 years ago • 2 comments

OpenUI5 version: 1.36.8 (built at 201604211423, last change 4ff45f419b9e96fe37c9589753a075b32f87aed7)

Browser/version (+device/version): Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Any other tested browsers/devices(OK/FAIL): Firefox: FAIL

Steps to reproduce the problem:

  1. Create a sap.tnt.NavigationList
  2. Create a sap.tnt.NavigationListItem
  3. Set the icon property to any address on your server like 'http://example.com/my_icon.png'

What is the expected result? Icon should be displayed just like an icon in a sap.m.StandardListItem

What happens instead? Whitespace for the icon is reserved but no icon is visible. The Element is missing from the DOM.

Any other information? SOP is not the issue here. For my test UI5 and the image were served from the same base address and webserver. The same example using a StandardListItem works as expected.

McShelby avatar May 03 '16 14:05 McShelby

Hi, yes, that's clearly missing functionality, thanks for reporting! Internally tracked as 1670303055.

Regards Andreas

akudev avatar May 10 '16 08:05 akudev

Hello McShelby,

thank you for reporting this issue. We have prepared a fix which will be available in 1.36.11.

Regards, Marin

marinparushev avatar May 18 '16 11:05 marinparushev