p-tree: Lazy loading icon does not show on child items #16282
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using lazy loading and
loadingMode="icon"
, the spinning loading icon only appears on root items, not on child items.Impact: For the user it is impossible to see whether something is still happening in the background, or if an items simply has no child items.
Environment
Windows 11, node v20 LTS,
Reproducer
https://stackblitz.com/edit/zvnnjw?file=src%2Fapp%2Ftree-lazy-demo.ts
Angular version
v18.1.0
PrimeNG version
17.18.5
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.15.1
Browser(s)
Chrome
Steps to reproduce the behavior
See /~https://github.com/user-attachments/assets/d9a89008-06e8-4e24-81f4-b9cd6f0d26a8
Expected behavior
Loading Icon appears as expected.
The text was updated successfully, but these errors were encountered: