Skip to content

Gutter does not scroll with the code editor #288

@livtanong

Description

@livtanong

How to reproduce:

  1. Set CodeField expands: true
  2. Enable line numbers for easier visibility
  3. Add more lines than can fit in the view to trigger the scroll view
  4. Scroll the code field
  5. You'll see that the gutter remains stationary.

Insights

Inspection of the code reveals that the gutter is inside a Row, alongside the editing field. The scroll view is inside the editing field, which means that as the current structure stands, the gutter can never scroll, with code. A significant refactor will need to be done, in order for the gutter to behave as expected.

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