Closed ValentinaPC closed 7 years ago
Shoot, I thought the code handled the loading state appropriately but seemingly not. I'll get this, should be able to fix it before the tag tomorrow as it's kind of janky UX.
Hah, this is because the categories and the search load separately, and we have an issue with the categories not being loaded (and category
being false during the check, here) while the search is (and thus saying loading
is false
.
Looks like loading
needs to be set based on multiple loading states or this needs to be a bit more robust. Should be an easy fix, just weird to track down.
Verified as fixed on AMO-dev FF54(Win 7, Android 7.2.1). A 404 page is not longer displayed while accessing any categories from homepage. Postfix video:
Steps to reproduce:
Expected results: Category is loaded without any display or layout issues.
Actual results: A 404 page is loaded for a few seconds.
Notes/Issues:
Verified on FF54(Win 7). Issue is reproducing around all AMO servers. Video for this issue: