RocketChat / RocketChat/Rocket.Chat.ReactNative
fix: swipe actions remains sticky in the chat view for tiles
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description:
In the chat view, whenever the user swipes on one chat (either left or right), options for that chat appear. But if the user swipes another chat then the options shown for the last chat tile remain persistent. Like every other app, an intuitive and expected behaviour is to close the options for the last tile while the user scrolls or swipes (left or right) on another chat.
Environment Information:
- Rocket.Chat Server Version: 6.6.0
- Rocket.Chat App Version: 4.47.0.99999
- Device Name: Realme 7
- OS Version: Realme UI 3.0
Steps to reproduce:
- Swipe a chat (left or right)
- Swipe another chat (left or right)
- Observe that first tile you swiped remains at its position rather than bouncing back to the original
Expected behavior:
Bouncing back of the first tile that user has swiped to its original place when the user has:
- Just scrolled up or down
- Swiped another tile
Actual behavior:
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
Start with the chat view and its swipe-action handling, using the reproduction steps to inspect how a tile responds when another tile is swiped or the list is scrolled. Done means the previously swiped tile returns to its original position in both cases, while the newly swiped tile can show its options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100