-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just-opened narrow sometimes flickers "no messages" before fetch has started #5152
Comments
Should we be fudging it as |
A user report from @anshuman-8 with screenshots from #5636 (which I'm about to close as a duplicate; please let me know if you think this is wrong):
|
Yes @chrisbobbe , this seems to be the same issue as #5636 , where |
Sure, thanks! I've just assigned it to you. |
Hey @chrisbobbe , I have submitted a pull request to fix this problem. Thank you. |
We fudge
fetching.older
andfetching.newer
asfalse
infetchingReducer
when this is a narrow we've just opened, one thatstate.fetching
doesn't have info for yet.fetchMessagesInNarrow
correctly setsfetching.older
andfetching.newer
totrue
when it's called. But by the time it's called, it's too late: thefalse
values have already madesayNoMessages
true
, wrongly, for at least a frame. And during that time, we've told the user there are no messages.Right?
The text was updated successfully, but these errors were encountered: