Skip to content

Composer diff collapsed state getting reset in cases where it shouldn't #4898

@ramin-t

Description

@ramin-t

Description

Noticed it in two instances:

  1. On a commit's diff in recompose, have all files be collapsed. Expand one file, then expand the one before/after it and scroll so it is out of view. When you scroll back, the first file you expanded is now collapsed again. It should have remained expanded.
  2. On a generated commit's diff in the composer, collapse all file diffs. Then expand the first one, and then hover over the AI explanation so that it hides the expanded diff out of view. When you hover off of the expanded AI explanation, the expanded file diff is now collapsed again. It should have remained expanded.

GitLens Version

17.9.0

VS Code Version

No response

Git Version

No response

Logs, Screenshots, Screen Captures, etc

No response

Metadata

Metadata

Assignees

Labels

area-composerIssues or features related to Commit Composerverified ✔Verified

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions