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
Hi, I am having a pestering problem where the last result get's appended to the current result, the more times I trigger the element, the way I solved this was by keeping a track of how long the last e.detail.result was and accordingly substring out that length from the next result, but this is a sure shot way of creating memory leaks, or unnecessary computation.
Is it possible to clear the internal results after a on-result is triggered. Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I am having a pestering problem where the last result get's appended to the current result, the more times I trigger the element, the way I solved this was by keeping a track of how long the last
e.detail.result
was and accordingly substring out that length from the next result, but this is a sure shot way of creating memory leaks, or unnecessary computation.Is it possible to clear the internal results after a on-result is triggered. Thanks.
The text was updated successfully, but these errors were encountered: