Skip to content

Long Press Strategy should be configurable #1547

Open
@brian-superlist

Description

@brian-superlist

With recent changes, the new Long Press + Mangifier work breaks the Superlist app, and we cannot update to the latest version.

The superlist app does two things on long press:

  1. Enable Drag n Drop, where a user can drag a document node around to reposition it.
  2. Enable "Swipe to Open," where a user can swipe from right to left to navigate into task details.

With PR #1489, these interactions are broken. This PR introduced custom long-press functionality which cannot be overridden. The IosLongPressSelectionStrategy and AndroidDocumentLongPressSelectionStrategy. Neither of these can be configured from the consumer of super_editor, which means our drag n drop & swipe to open functionality no longer works correctly.

This functionality needs to be configurable so we can opt-in or opt-out of this behavior.

Demos

Broken Swipe to Open

RPReplay_Final1698151105.mp4

Broken Drag n Drop

RPReplay_Final1698151148.mp4

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions