You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
//The updateSearchViewDelayed() method updates the Library with the search results
284
+
//Needs to be done inside the callback because the callback is executed in a async way otherwise we don't have control when this method will be executed
0 commit comments