Skip to content

fix(pivot-grid): highlight the row header that Home and End scroll to - 22.3.x - #17940

Merged
kdinev merged 4 commits into
22.3.xfrom
vkombov/fix-17932-22.2.x
Nov 25, 2026
Merged

kdinev merged 4 commits into
22.3.xfrom
vkombov/fix-17932-22.2.x

Conversation

@viktorkombov

@viktorkombov viktorkombov commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17932

Description

Backport of #17939 to 22.3.x. In the horizontal row layout, a key press that scrolls to another row dimension header, such as Home or End, now highlights that header. Before, the header that was active before the key press stayed highlighted.

Motivation / Context

#17699, which shipped in 22.2.1, made scrollToNextHorizontalDimRow() call detectChanges() after the scroll, and that renders the row headers before setActiveNode() changes the active node. handleNavigation() now calls notifyChanges() after it sets the active node in the horizontal layout. 21.2.x doesn't have the detectChanges() call, so it needs no backport.

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Component(s) / Area(s) Affected:

Pivot Grid

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Same spec as #17939, where it fails without the fix and passes with it. Only the imports differ. I couldn't run the 22.2.x Karma suite locally, so CI is its first run on this branch.

Test Configuration:

  • Angular version: 22.2.3
  • Browser(s): Chromium
  • OS: Windows 11

Screenshots / Recordings

The issue shows the actual and the expected result.

Checklist:

  • All relevant labels have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings November 6, 2026 18:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the pivot-grid row-header highlighting fix.

No open issues 🎉

What changed in this PR

Backports #17939 to 22.2.x to fix stale row-header highlighting during horizontal pivot-grid navigation, addressing #17932.

Changes:

  • Calls notifyChanges() after updating the active node in horizontal layout.
  • Adds a zoneless regression test checking the highlighted header after End and Home navigation.
  • Documents the fix in the changelog.
File Description
projects/​igniteui-angular/​grids/​pivot-grid/​src/​pivot-grid.spec.ts Adds regression coverage for End/Home header highlighting.
projects/​igniteui-angular/​grids/​pivot-grid/​src/​pivot-grid-navigation.service.ts Notifies change detection after horizontal active-node updates.
CHANGELOG.md Records the pivot-grid highlighting fix.

Review effort: Balanced

@viktorkombov viktorkombov added the ❌ status: awaiting-test PRs awaiting manual verification label Nov 9, 2026
mddragnev
mddragnev previously approved these changes Nov 17, 2026
viktorkombov and others added 3 commits November 18, 2026 10:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@viktorkombov
viktorkombov changed the base branch from 22.2.x to 22.3.x November 18, 2026 08:06
@viktorkombov
viktorkombov dismissed mddragnev’s stale review November 18, 2026 08:06

The base branch was changed.

@viktorkombov
viktorkombov force-pushed the vkombov/fix-17932-22.2.x branch from ccadbde to 1fe1a7b Compare November 18, 2026 08:07
@viktorkombov viktorkombov changed the title fix(pivot-grid): highlight the row header that Home and End scroll to - 22.2.x fix(pivot-grid): highlight the row header that Home and End scroll to - 22.3.x Nov 18, 2026
@igdmdimitrov igdmdimitrov added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Nov 19, 2026
@kdinev
kdinev enabled auto-merge (squash) November 25, 2026 15:12
@kdinev
kdinev merged commit d140e31 into 22.3.x Nov 25, 2026
6 checks passed
@kdinev
kdinev deleted the vkombov/fix-17932-22.2.x branch November 25, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grid: pivot version: 22.3.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants