Skip to content

fix(igxGrid): In case zone is already stable emit detect and emit chu…#17268

Open
MayaKirova wants to merge 2 commits intomasterfrom
mkirova/fix-17258
Open

fix(igxGrid): In case zone is already stable emit detect and emit chu…#17268
MayaKirova wants to merge 2 commits intomasterfrom
mkirova/fix-17258

Conversation

@MayaKirova
Copy link
Copy Markdown
Contributor

@MayaKirova MayaKirova commented May 8, 2026

…nkLoad.

Closes #17258

Description

Motivation / Context

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:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version:
  • Browser(s):
  • OS:

Screenshots / Recordings

Checklist:

  • All relevant tags 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

Copilot AI review requested due to automatic review settings May 8, 2026 14:21
@MayaKirova MayaKirova added ❌ status: awaiting-test PRs awaiting manual verification keyboard-navigation labels May 8, 2026
Copy link
Copy Markdown
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 adjusts the grid’s vertical scroll handling to ensure chunkLoad and related post-scroll logic run even when NgZone is already stable (notably when the scroll listener is attached via runOutsideAngular), addressing the reported keyboard navigation regression after vertical scrolling (#17258).

Changes:

  • Refactors the vertical scroll post-processing into a callback function.
  • Adds a zone.isStable branch to trigger detectChanges() and invoke the callback immediately; otherwise waits for zone.onStable.

Comment on lines +7776 to +7777
this.cdr.detectChanges();
callback();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

keyboard-navigation ❌ status: awaiting-test PRs awaiting manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arrow keys stop firing after vertical scroll in igxGrid

3 participants