Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DYN-6739 Regression Typing Fast in Search (#224)
* DYN-6739 Regression Typing Fast in Search When typing fast in the TextSearch box was getting wrong results or the results were not in the same order than Dynamo InCanvasSearch, It was happening due that we are implementing the React Debounce pattern (this patters allows the user to continue typing while we are searching ) but we were missing to update the results immediately after getting the results so I added a call to this.updateSearchViewDelayed() method immediately after getting the results. * DYN-6739 Regression Typing Fast in Search I had to update the onTextChanged() method due that when deleting quickly the text typed inside the SearchTextBox was showing the library with search results (event when the textbox is empty). So I have to reorganize all the code in the onTextChanged() method so that most of the code will be inside the timeout (otherwise there is no way to control the code async execution). * DYN-6739 Regression Typing Fast in Search Updating comments so my changes will be more clear
- Loading branch information