Skip to content

Search state slows down when changing directory type with large listings #2510

@RabbiIslamRony

Description

@RabbiIslamRony

Directorist version

8.4.8

Environment

latest

Description

Description:
When the site contains a large number of listings, the search state becomes noticeably slow while switching directory types. During this period, users can still interact with the interface, which may cause incomplete or inconsistent data loading.

Proposed Solution:

  1. Add a disable state to prevent user actions until the process completes, or
  2. Add a loading state to indicate that the data is being fetched and will be displayed once fully loaded.

This ensures that all data loads properly and improves the overall user experience.

Steps to reproduce

https://taiga-sovware-u10698.vm.elestio.app/project/directorist/issue/1932

Isolating the problem

  • I have reproduced this bug in localhost.
  • This bug happens with a default WordPress theme active (eg. 2021, 2022 etc).

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions