`ScrollView` prop `autoScroll: detectEnd` race condition
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- react, typescript
- Bereich
- frontend
Rechercherichtung
The issue points to the documentation’s Auto Scrolling section and the ScrollView autoScroll: detectEnd behavior; no source file or test is named. Start by finding that example and tracing the isScrolledAtEnd and isAutoScrollInProgress condition mentioned in the linked comment. Reproduce by adding text rapidly until auto scroll stops, then confirm the behavior remains reliable.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Originally reported in https://github.com/react-ui-org/react-ui/issues/501
Steps to reproduce:
- in the documentation go to the Auto Scrolling section
- select the option when end is detected
- click on the Add text button to the point where the element scrolls
- start clicking on Add text button as fast as you can several times
- after a while, auto scroll stops working
https://github.com/user-attachments/assets/346aef66-0d7f-4173-bba7-173a3469c7e4
Relevant comment: https://github.com/react-ui-org/react-ui/issues/501#issuecomment-3018784601
I think the issue lies in a race condition in the else if (!isScrolledAtEnd || isAutoScrollInProgress) condition, but I couldn't think of a satisfactory fix.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 23
- Forks
- 10
- Ø Merge
- 5 T. 12 Std.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus react-ui-org/react-ui
-
maintenance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
react-ui-org/react-ui#784 ·
Maintainer antworten meist innerhalb von 1 Tag
-
accessibility bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
react-ui-org/react-ui#775 ·
Maintainer antworten meist innerhalb von 1 Tag
-
maintenance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
react-ui-org/react-ui#753 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Playwright container fails `devEngines` check again because its image does not pin Node.jsEvtl. vergeben @bedrich-schindler hat das heute übernommen. Offenbug maintenance
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 25/100
react-ui-org/react-ui#782 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Supported versionsOffenmaintenance
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
react-ui-org/react-ui#780 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in react-ui-org/react-ui
Ähnliche Issues
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingOffene2e-failure ready-to-code
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
devswha/herdr-web-ui#2884 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
b:minor bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
software-mansion/argent#1771 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Resources: New palettes of XiamenEvtl. vergeben @rmt-svc hat das heute übernommen. Offenresources
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 74/100
railmapgen/rmg-palette#2491 ·
Maintainer antworten meist innerhalb von 4 Tagen