Despite the function completing quickly, the more letters i type in the search, the slower tribute becomes until it freezes.
What did you expect to happen?
The browser should not freeze
What happened instead?
The Browser froze
Apologies if this is just terrible code on my part,
Link (jsfiddle/plunkr/codepen) or Screenshot:
Code is here, type '@import' and space to trigger the suggestions, then try typing 'electronic communications'. Notice that at first results are resolved rapidly, but as the search term gets longer, the browser begins to freeze.
How can we reproduce this bug?
What did you expect to happen? The browser should not freeze
What happened instead? The Browser froze
Apologies if this is just terrible code on my part,
Link (jsfiddle/plunkr/codepen) or Screenshot: Code is here, type '@import' and space to trigger the suggestions, then try typing 'electronic communications'. Notice that at first results are resolved rapidly, but as the search term gets longer, the browser begins to freeze.
https://jmaris.me/eurlex/