Skip to content

Horizontal Scrolling in Code Blocks Interpreted as Back Gesture #253

Open
@light-flight

Description

@light-flight

Describe the bug

When you scroll a code block to the left, it's interpreted as a swipe left.

To Reproduce

  1. Open any post that contains a code block long enough to require horizontal scrolling.
  2. Swipe right to scroll the code block horizontally, then swipe left.
  3. The "Back" action is triggered.

Expected behavior

The code block should scroll left without changing the page state. There should be no redirect to the posts list.

Screenshots

Image

Smartphone (please complete the following information):

  • Device: iPhone 16 Pro
  • OS: iOS 18.5
  • Version: 2.1.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions