Details
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
I patched this stack and I'm seeing some weird behaviour. Sometimes I cannot scroll further until I scroll back up and down again. Please investigate this
lib/hooks/message-hooks.js | ||
---|---|---|
75–88 ↗ | (On Diff #27401) | oldestMessage is the message with the lowest id from results returned from callFetchLatestMessages. You set setFetchState({ type: 'everything_loaded' }); when oldestMessage === fetchState.message, so when you see some message for the second time. Why do you see a message for the second time? Since fetchThreadsWithLatestMessages fetches messages that are strictly smaller than fromMessageID can this happen? |
native/chat/chat-thread-list.react.js | ||
---|---|---|
222–225 | If we can't display any threads at the start, onEndReached is not called so we have to fetch manually (the < 3 check takes into account the search and empty list items) |
lib/hooks/message-hooks.js | ||
---|---|---|
76–77 | Regarding previous @inka comment: I'm checking if the message is the same because of this issue: https://linear.app/comm/issue/ENG-4101 |
We are changing the approach for this task, so I'm abandoning this diff. More info in the linear task.