Closed maltenorstroem closed 6 months ago
Hi @maltenorstroem,
I opened your sample and from what I notice the timeline items are not rendered correctly.
Can you please check the formatting in your html page, especially the last timeline item. Also can you send the editor URL from Stackblitz project in order to look at your sample. Thanks!
Best regards, Nikoleta
`
Thanks for the quick response. I saw the issue and will further investigate!
Best regards, Nikoleta
Hello @SAP/ui5-webcomponents-topic-b,
Please take a look at this issue. I was able to reproduce it on our test pages with ui5-icon and ui5-avatar components as well. In order to reproduce the issue, just put a component e.g.
Bug Description
The generated TimelineItemTemplate.lit.js checks in block0 whether this.textContent is not null. Standard Build/minifier remove all spaces and set the HTML to one line. A custom element without TextContent e.g. returns zero during the check and is not displayed.
Affected Component
@ui5/webcomponents-fiori/dist/TimelineItem.js
Expected Behaviour
According to the documentation, an array [Nodes] can be inserted in the default slot. I would expect these elements to be displayed in the TimelineItem.
Isolated Example
https://js-nte7ud.stackblitz.io
Steps to Reproduce
Log Output, Stack Trace or Screenshots
Priority
High
UI5 Web Components Version
1.22.0
Browser
Chrome
Operating System
Linux norstroem 6.7.4-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Feb 5 22:21:14 UTC 2024 x86_64 GNU/Linux
Additional Context
No response
Organization
No response
Declaration