mattermost / mattermost/react-native-paste-input

iOS Text Input: Scroll Jitter When Editing in Upper Region

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
213
Forks
38
Avg merge
12h 25m
Merged PRs (30d)
1

Description

When editing long text content that exceeds maximum height constraints on iOS, manipulating text in the upper region causes scrolling jitter. The view incorrectly scrolls to the bottom while keeping cursor position at the top.
This issue occurs consistently (100% reproducibility) when rendering text as children and using refined values, such as in chat applications with mention functionality. The problem can also manifest when inserting empty lines in the upper portion of the text area.

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

No file, test, or entry point is identified. Reproduce the issue on iOS with long text rendered as children, refined values, or inserted empty lines, then trace the text-input scrolling behavior; done means upper-region edits keep the cursor visible without jumping the view to the bottom.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.