Pagination and Total Answer Count Loading Issue on Question Details Page
- Langage dominant
- Go
- Étoiles
- 15.7k
- Forks
- 1.4k
- Merge moyen
- 3 j 8 h
- PR mergées (30 j)
- 7
Description
**Describe the bug**
There is a pagination issue on the answer list within the question details page. The total count of answers and the pagination list fail to load correctly. The pagination is constantly set to 1, and the total count of answers matches the number on a single page. This bug occurs across all devices and operating systems, and is independent of the browser and its version.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the question details page.
2. Observe the answer list section.
3. Notice that the pagination is always set to 1, regardless of the number of answers.
4. Observe that the total count of answers is equal to the number of answers on one page, indicating a failure in loading the correct total.
**Expected behavior**
The expected behavior is that the answer list should correctly load with appropriate pagination. The total count of answers should reflect the actual number of answers available, and pagination should adjust accordingly, allowing users to navigate through multiple pages if necessary.
**Screenshots**
Not applicable.
**Platform (please complete the following information):**
- Device: All (e.g. Desktop, Mobile)
- OS: All (e.g. macOS, Windows, iOS, Android)
- Browser: All (e.g. Chrome, Safari, Firefox)
- Version: All_versions
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par la page de détails de la question et reproduisez le comportement de la liste des réponses décrit dans l’issue, puis suivez la manière dont la pagination et le nombre total de réponses sont chargés. Le travail est terminé lorsque le nombre reflète toutes les réponses disponibles et que la pagination permet de naviguer entre plusieurs pages lorsque cela est nécessaire.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100