Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

foldGutter, auto height conflict with lineWrapping #6181

Closed

Description

@vipcxj

The demo a or demo b

  • step 1: type or parse the following to the codemirror
{
  "assessments": [],
  "bases": [],
  "birthDay": null,
  "certEndDate": null,
  "certNumber": null,
  "certProvider": null,
  "certStartDate": null,
  "certStatus": null,
  "education": null,
  "id": 42661,
  "idCard": null,
  "mobilePhone": null,
  "name": null,
  "office": null,
  "photoUri": null,
  "properties": {},
  "remoteKey": null,
  "remoteVersion": null,
  "sex": null,
  "source": null,
  "version": 1584434603845,
  "workHistories": [],
  "workNumber": null,
  "workType": null
}
  • step 2: fold the code
  • step 3: unfold the code

Then a needless scroll appear in the codemirror and partial content not show. click the codemirror, it appear.

Without option lineWrapping, it work properly.

Activity

  1. added a commit that references this issue on Oct 31, 2020
    14d7274
  2. added a commit that references this issue on Sep 5, 2024
    9a970e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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