Skip to content

DataGrid - Fix the browser scrolling back to the grid when data is updated (T1310557)#33168

Merged
markallenramirez merged 11 commits intoDevExpress:26_1from
markallenramirez:bug_T1310557/26_1
Apr 15, 2026
Merged

DataGrid - Fix the browser scrolling back to the grid when data is updated (T1310557)#33168
markallenramirez merged 11 commits intoDevExpress:26_1from
markallenramirez:bug_T1310557/26_1

Conversation

@markallenramirez
Copy link
Copy Markdown
Contributor

No description provided.

@markallenramirez markallenramirez self-assigned this Apr 6, 2026
Copilot AI review requested due to automatic review settings April 6, 2026 12:56
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

Fixes DataGrid keyboard-navigation focus restoration so that updating data doesn’t cause the browser to scroll the page back to the grid (by using native focus({ preventScroll }) during render completion).

Changes:

  • Add a preventScroll flag to _updateFocus and _focus and propagate it from renderCompleted.
  • Replace synthetic eventsEngine.trigger(..., 'focus') with native DOM focus({ preventScroll }) for the focused cell/row.

@markallenramirez markallenramirez requested a review from a team as a code owner April 7, 2026 08:51
Copilot AI review requested due to automatic review settings April 7, 2026 08:55
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings April 8, 2026 09:04
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings April 8, 2026 12:36
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings April 10, 2026 08:03
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings April 14, 2026 06:38
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

@markallenramirez markallenramirez merged commit 5316974 into DevExpress:26_1 Apr 15, 2026
103 checks passed
markallenramirez added a commit to markallenramirez/DevExtreme that referenced this pull request Apr 15, 2026
markallenramirez added a commit to markallenramirez/DevExtreme that referenced this pull request Apr 15, 2026
ajivanyandev pushed a commit to ajivanyandev/DevExtreme that referenced this pull request Apr 15, 2026
@markallenramirez markallenramirez deleted the bug_T1310557/26_1 branch April 15, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants