Git Product home page Git Product logo

Comments (5)

ringgaard avatar ringgaard commented on June 8, 2024 1

I have changed the browser so pending API queries are cancelled before sending new ones. Please let me know if this fixes the problem for you.

from sling.

ringgaard avatar ringgaard commented on June 8, 2024

The screen dump looks like it is showing the results for "cir" instead of "circlip". This could happen if the results for "cir" arrives later than the results for "circlip". I currently don't track the order of the incremental search queries, but it seems like this is needed for this to work robustly over the Internet. I think it is relatively simple to cancel queries in progress before sending a new query. Let me take a look at this and report back.

from sling.

dpriskorn avatar dpriskorn commented on June 8, 2024

It's fixed now 😃

from sling.

ringgaard avatar ringgaard commented on June 8, 2024

I think I have seen this bug twice after I made the fix, so I am reopening this issue again. Apparently the fix with the Abort controller does not always work.

from sling.

ringgaard avatar ringgaard commented on June 8, 2024

I have changed the approach to avoiding stale query results. I now check that the query for the results matches the current value of the search input box before updating the search list.

from sling.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.