Skip to content

Make Datagrid loading timeout configurable #10835

@mariomartinez81

Description

@mariomartinez81

What you were expecting:

I expect the Datagrid component skeleton to be displayed while the data is being retrieved, or for it to receive a loading property, so that external manipulation can be performed, since skeletons are not displayed.

What happened instead:

The Skeleton of the built-in Datagrid component isn't displaying; this is due to internal delays in the components added on purpose.

Steps to reproduce:

  1. Use a list with the Datagrid.
  2. Check the rendering of the default skeleton while loading the data.
  3. Check the components that have a timeout.

Related code:

insert short code snippets here

Other information:

Additionally, you have the DatagridLoading component, which also uses a timer from its input.

Environment

  • React-admin version: 6.9.1
  • Last version that did not exhibit the issue (if applicable):
  • React version: 19.1
  • Browser: Chrome
  • Stack trace (in case of a JS error):

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