Skip to content

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

Open
markallenramirez wants to merge 10 commits intoDevExpress:26_1from
markallenramirez:bug_T1310557/26_1
Open

DataGrid - Fix the browser scrolling back to the grid when data is updated (T1310557)#33168
markallenramirez wants to merge 10 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.

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.

2 participants