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

explore your area, names result is replaced by prior request #603

Open
adam-collins opened this issue Jun 25, 2024 · 0 comments
Open

explore your area, names result is replaced by prior request #603

adam-collins opened this issue Jun 25, 2024 · 0 comments
Assignees
Milestone

Comments

@adam-collins
Copy link
Contributor

When sending multiple names requests from explore your area by quickly clicking on different group names, there appears to be an low frequency use case not handled.

I suspect it looks like this:

  1. name request A has a large response can no longer be cancelled and is in the processing loop.
  2. name request B is clicked.
  3. name request B responds before 1 is finished.
  4. name request B processes and writes the new names list to the DOM.
  5. name request A processing loop finishes and overwrites the names list in the DOM.

Address this with the introduction of a new variable to keep track of the last name request and match this before writing to the DOM. Any existing names list might need to be removed again.

@adam-collins adam-collins added this to the 7.1.0 milestone Jul 9, 2024
@adam-collins adam-collins self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant