Gesture to hide can hide the wrong post
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.8k
- Forks
- 174
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
**Describe the bug**
When I use the swipe gesture to hide a post, sometimes it doesn't hide the post I am swiping but a lower post. This happens when I hide one post and another immediately after.
**To Reproduce**
Steps to reproduce the behavior:
1. Set the swipe gestures to hide (easier if long and short are both set to hide)
2. Hide one post using the gesture and *before the animation has finished* hide another. (The timing seems very precise, so it is hard to reproduce but it happens to me often enough to now report it).
**Expected behavior**
It should hide the correct post I am swiping, not an unrelated lower one.
**Screenshots**
I have enabled the visuals showing where my finger is. It might be a bit hard to see when it actually happens but my finger is nowhere near the final hidden post. Otherwise slow down the video.
https://github.com/user-attachments/assets/ae6f69d0-e84e-4136-b2a4-b4eaad34961e
**Smartphone:**
- Device: Samsung Galaxy S22
- OS: Android 16
- Voyager 2.41.0
**Additional context**
The timing is hard to get right, but my best guess is that it happens because the animation is still going (the next posts shifting up) and it calculates the positions incorrectly and therefore, hides the wrong post.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.