Skip to content

DataGrid: Fix horizontal touch scrolling on freespace row with rowDragging enabled (T1329643)#34116

Merged
Alyar666 merged 4 commits into
DevExpress:26_1from
Alyar666:T1329643_26_1
Jun 25, 2026
Merged

DataGrid: Fix horizontal touch scrolling on freespace row with rowDragging enabled (T1329643)#34116
Alyar666 merged 4 commits into
DevExpress:26_1from
Alyar666:T1329643_26_1

Conversation

@Alyar666

Copy link
Copy Markdown
Contributor

No description provided.

@Alyar666 Alyar666 self-assigned this Jun 24, 2026
Copilot AI review requested due to automatic review settings June 24, 2026 18:38
@Alyar666 Alyar666 requested a review from a team as a code owner June 24, 2026 18:38

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.

Pull request overview

Fixes a touch interaction regression in the internal Draggable implementation used by DataGrid row dragging, ensuring horizontal native scrolling isn’t blocked when a drag gesture is detected but an actual drag doesn’t start (T1329643).

Changes:

  • Adjusts when dragInProgress is set and adds logic to allow native scrolling by setting e._cancelPreventDefault when no drag is active.
  • Refactors drag-move handling slightly (extracting _moveDragElement) and stores the last move event for auto-scroll reprocessing.
  • Adds Jest coverage around dragInProgress and preventDefault behavior.

Reviewed changes

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

File Description
packages/devextreme/js/__internal/m_draggable.ts Updates drag state timing and prevents dxdrag from blocking native scrolling when no drag is in progress.
packages/devextreme/js/__internal/tests/draggable.test.ts Adds Jest tests for dragInProgress and default-prevention behavior during drag gestures.

Comment thread packages/devextreme/js/__internal/m_draggable.ts Outdated
Comment thread packages/devextreme/js/__internal/m_draggable.ts
Comment thread packages/devextreme/js/__internal/__tests__/draggable.test.ts
anna-shakhova
anna-shakhova previously approved these changes Jun 25, 2026
Comment thread packages/devextreme/js/__internal/m_draggable.ts Outdated
Comment thread packages/devextreme/js/__internal/m_draggable.ts Outdated
Raushen
Raushen previously approved these changes Jun 25, 2026
Copilot AI review requested due to automatic review settings June 25, 2026 12:05
@Alyar666 Alyar666 dismissed stale reviews from Raushen and anna-shakhova via 6e9962b June 25, 2026 12:05

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.

Pull request overview

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

Comment thread packages/devextreme/js/__internal/m_draggable.ts Outdated
anna-shakhova
anna-shakhova previously approved these changes Jun 25, 2026
@Alyar666 Alyar666 added this pull request to the merge queue Jun 25, 2026
@Alyar666 Alyar666 removed this pull request from the merge queue due to a manual request Jun 25, 2026
@Alyar666 Alyar666 added this pull request to the merge queue Jun 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@Alyar666 Alyar666 added this pull request to the merge queue Jun 25, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@Alyar666 Alyar666 added this pull request to the merge queue Jun 25, 2026
@Alyar666 Alyar666 removed this pull request from the merge queue due to a manual request Jun 25, 2026
@Alyar666 Alyar666 added this pull request to the merge queue Jun 25, 2026
Merged via the queue into DevExpress:26_1 with commit cb37987 Jun 25, 2026
124 of 125 checks passed
@Alyar666 Alyar666 deleted the T1329643_26_1 branch June 25, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants