Skip to content

[iOS] Screen scrolls to center the cursor when autocorrect replaces a word #5676

Description

@raineorshine

Steps to Reproduce

- A
- B
- C
- D
- E
- F
-
  1. Open the app on an iOS device where the on-screen keyboard leaves fewer than seven thoughts visible, so the list overflows the viewport.
  2. Tap the empty thought to set the caret on it and enter edit mode. The empty thought is fully visible on screen.
  3. Type Onr and wait for the iOS autocorrect suggestion to appear.
  4. Press Space to accept the suggestion, replacing Onr with One.

Current Behavior

The screen scrolls to bring the cursor thought to the vertical center, even though it was already fully visible.

trim.D68D9E49-0041-4CC6-8D8E-FDD5E37630F3.MOV

Expected Behavior

In this case

No scroll should occur when autocorrect replaces Onr with One. The thought list should stay where it was, with the cursor thought in the same position on screen.

In general

Auto scroll should not occur when the cursor thought is already visible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions