Skip to content

Update gridfield content intelligently instead of a full HTML replace #2049

@GuySartorelli

Description

@GuySartorelli

When filtering, sorting etc a gridfield, the whole gridfield is re-rendered and all of the HTML is replaced.
This means that if you're a keyboard user and your keyboard focus is e.g. on a header for updating the sort, your focus gets thrown out the window along with the element itself.

We could use something like alpine.js morph to intelligently update the DOM instead.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions