Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

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

Open preeesha opened this issue 1 year ago • 2 comments

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:

  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:

  • Just scrolled up or down
  • Swiped another tile

Actual behavior:

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

preeesha avatar Feb 07 '24 04:02 preeesha

I am working on this issue.

preeesha avatar Feb 07 '24 04:02 preeesha

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

AmitGiriDev avatar Feb 10 '24 00:02 AmitGiriDev