Skip to content

fix: ensure folding icons are clickable in sticky scroll#293559

Open
kairosci wants to merge 1 commit intomicrosoft:mainfrom
kairosci:fix/sticky-scroll-folding-controls
Open

fix: ensure folding icons are clickable in sticky scroll#293559
kairosci wants to merge 1 commit intomicrosoft:mainfrom
kairosci:fix/sticky-scroll-folding-controls

Conversation

@kairosci
Copy link

@kairosci kairosci commented Feb 6, 2026

Add z-index and pointer-events to folding icons in sticky scroll to ensure they are always clickable and appear above other elements.

This fixes an issue where folding controls would either disappear from the line margin or appear but not respond to clicks when a foldable region entered the sticky scroll area.

Fixes #292042

Add z-index and pointer-events to folding icons in sticky scroll to ensure
they are always clickable and appear above other elements. This fixes an
issue where folding controls would not respond to clicks when in the
sticky scroll area.

Fixes microsoft#292042
Copilot AI review requested due to automatic review settings February 6, 2026 23:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an editor UI issue where folding controls in the sticky scroll header could be visually obscured and/or not receive click events when a foldable region becomes part of the sticky scroll area.

Changes:

  • Increase stacking priority of folding icons within sticky scroll via z-index.
  • Ensure folding icons present the correct interaction affordance and can receive pointer input via cursor: pointer and pointer-events: auto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folding controls don't appear, or clicking does nothing in sticky scroll area

2 participants