Skip to content

Loader Keeps Spinning on Tab After Adding a Category – Admin Panel #706

@waleedahmedhere

Description

@waleedahmedhere

Describe the bug
When adding a new category from the Product page in the admin panel, a loader appears on the tab (likely the browser tab or section header) and continues spinning indefinitely, even after the category has been successfully added. This suggests that the action is incomplete or stuck, although the category may have been added in the background.

To Reproduce
Steps to reproduce the behavior:

Open the Product page in the admin panel

Use the dropdown to add a new category

Observe the tab or header loader animation

Notice that the loader does not stop, even after the action is done

Expected behavior
The loader should disappear once the category is successfully added and the action is complete, indicating to the user that the process is finished.

Screenshots

Recording 2025-06-24 120712.zip

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Version: 123.0.6312.86

Additional context
This may be caused by a missing or delayed response handler after the category creation API call. It can mislead users into thinking the process is still running or has failed. A proper success state and loader dismissal should be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions