Skip to content
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

p-tree: Lazy loading icon does not show on child items #16282

Closed
jonaswinkler-cariad opened this issue Aug 24, 2024 · 1 comment · Fixed by #16342 · May be fixed by Rodolphe33/gestion-personnel#33
Closed

p-tree: Lazy loading icon does not show on child items #16282

jonaswinkler-cariad opened this issue Aug 24, 2024 · 1 comment · Fixed by #16342 · May be fixed by Rodolphe33/gestion-personnel#33
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@jonaswinkler-cariad
Copy link

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.

@jonaswinkler-cariad jonaswinkler-cariad added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 24, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 10, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.10 milestone Sep 10, 2024
mehmetcetin01140 added a commit that referenced this issue Sep 10, 2024
Fixed #16282 Loading icon does not show on child items
@jonaswinkler-cariad
Copy link
Author

Thank you for addressing this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
2 participants