[Mobile] Total count of posts does not update when new posts appear
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Bug Report
Current Behavior
Total count of posts on top bar does not update when new posts appear. So it actually shows something like "123 of 121 posts". Only on mobile, works as expected on desktop ui.
Steps to Reproduce
- Open a discussion on two devices, one of them a mobile, and scroll all way down
- Create some posts on the other device
- Wait on the mobile until they appear
- See error: 123 of 121 posts
Expected Behavior
Current post number should always be less than or equal to the total post count
Screenshots
See below and: https://discuss.flarum.org/d/25769-beta-15-wrong-numbers-of-posts/5

Environment
- Flarum version: Reproduced on nightly f8edc2d
- Mobile Safari on iOS 14.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the issue on Mobile Safari with two devices, compare the mobile and desktop post-count behavior, and trace where newly appearing posts update the total. Done means the mobile top bar keeps the current post number less than or equal to the total after new posts appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100