Skip to content

fix: Stop visibilityPicker item selection from jumping to 0

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Description

This fixes the problem described in !1910 (comment 2096602661), relating to the new Publish To Gitlab feature.

How has this been tested?

This can be tested by making a new Git repository without any remotes, and making a commit.

The Publish Branch button in VS Code will give the option to use an active GitLab account, which starts the publishing flow.

When on the screen that asks for a new project name, try moving the selection up and down with the arrow keys, while adding and removing characters in the textbox. The selection should not jump back to the top.

Screenshots (if appropriate)

Before

preserve-index.mp4

After

test_vscode_bug

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Dheeraj Joshi

Merge request reports

Loading