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.

Assessment

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

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.

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.

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

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.

More from mattermost/react-native-paste-input

All issues in mattermost/react-native-paste-input

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.