RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
2.02k stars 1.18k forks source link

fix: swipe actions remains sticky in the chat view for tiles #5549

Open preeesha opened 9 months ago

preeesha commented 9 months ago

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:

Steps to reproduce:

  1. Swipe a chat (left or right)
  2. Swipe another chat (left or right)
  3. 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:

Actual behavior:

https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/126406840/c7dcaccd-6082-4afd-b461-5f7e743543bd

preeesha commented 9 months ago

I am working on this issue.

AmitGiriDev commented 9 months ago

Hey @preeesha, similar issue is already raised and being discussed in #5536