Skip to content

[SuperEditor][SuperTextField][iOS] - Caret movement on drag should slide over characters #2103

Open
@matthew-carroll

Description

@matthew-carroll

Currently, as the user drags the caret on iOS, SuperEditor and SuperTextField snap the caret to the nearest legal caret position. While this is a reasonable behavior, it's not how iOS behaves.

The current (wrong) SuperEditor behavior:

Screen.Recording.2024-06-17.at.5.14.03.PM.mov

On iOS, dragging the caret moves the caret by the exact drag amount in the current line of text, regardless of whether that x-offset is a legal caret position or not. When the user releases, the caret animates to the nearest legal position.

Screen.Recording.2024-06-17.at.5.20.56.PM.mov

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions