lmolteno / nsn

NCEA Standards Navigator
https://www.notion.so/Fast-access-NZQA-d4f21847f9174bc2954bd6a3e8205363
1 stars 1 forks source link

Search results stay after text has been deleted, when there's latency #3

Closed lmolteno closed 3 years ago

lmolteno commented 3 years ago

Only seen in deployment when requests go from NZ -> China

lmolteno commented 3 years ago

This only happens when the text in the box is deleted before the request for the previous text has come back, edge case. This could be fixed by checking to see that the box isn't empty before switching the DOM html to the search results.

lmolteno commented 3 years ago

Appears to be resolved, except now things tend to disappear and remain full, so take up whitespace :/