Skip to content

[Bug] Query editor truncates long queries — horizontal overflow not fully scrollable #94

Description

@kaya-abdullah
Image

Bug Description

When writing a long SQL query (e.g. a multi-CTE statement with many columns), lines that extend beyond the visible width of the editor panel are cut off. Scrolling vertically inside the editor does not bring the hidden content into view, and there is no usable horizontal scrollbar to pan right.

Steps to Reproduce

  1. Open any PostgreSQL (or other SQL) connection in the Query Console.
  2. Paste or write a query with deeply-nested CTEs or long line lengths (e.g. 80+ chars per line after indentation).
  3. Observe that lines extending past the right edge of the editor panel are clipped — they are not visible even after scrolling.

Expected Behaviour

  • Long lines should be reachable via the Monaco editor's horizontal scrollbar.
  • The editor's internal scroll (both vertical and horizontal) should work independently of the outer page scroll, allowing the full query to be read and edited without any clipping.

Actual Behaviour

  • Content past the right edge of the editor panel is cut off and inaccessible.
  • Scrolling up/down inside the editor does not reveal the clipped content.
  • The horizontal scrollbar is either hidden or non-functional in the affected state.

Environment

  • Version: v0.9.29
  • Browser: Chrome (latest)
  • OS: Linux
  • Mode: Standalone web app (app.libredb.org)

Screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions