RocketChat / RocketChat/Rocket.Chat.ReactNative

fix: message view auto scrolls up when swiped up

Open
#5,551 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

When the chat is at its bottom, if user swipes up a couple of times (3-4, sometimes 2 also), the message view scrolls up.

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. Open any chat view
  2. Swipe up a couple of times
  3. Observe chat going up
Expected behavior:

This is an unexpected behaviour. Chat must remain at the bottom.

Actual behavior:

https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/126406840/23f446d4-9f21-4da8-ad61-3c8dff61a3f5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in any chat view using the listed swipe-up steps, then trace the message view's scrolling behavior. The work is done when repeated upward swipes while the chat is at the bottom no longer move the view away from the bottom; verify this on the affected mobile environment.

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
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.