fix(igxGrid): In case zone is already stable emit detect and emit chu…#17268
fix(igxGrid): In case zone is already stable emit detect and emit chu…#17268MayaKirova wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
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
callbackfunction. - Adds a
zone.isStablebranch to triggerdetectChanges()and invoke the callback immediately; otherwise waits forzone.onStable.
| this.cdr.detectChanges(); | ||
| callback(); |
|
@MayaKirova The issue seems to be with a zoneless application. The provided sample in the issue does not have the |
…nkLoad.
Closes #17258
Description
Motivation / Context
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
How Has This Been Tested?
Test Configuration:
Screenshots / Recordings
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)