Skip to content

T1329805: DataGrid — Scrolling does not work when hovering over a cell containing a web component#34113

Open
Raushen wants to merge 1 commit into
DevExpress:26_1from
Raushen:T1329805_26_1
Open

T1329805: DataGrid — Scrolling does not work when hovering over a cell containing a web component#34113
Raushen wants to merge 1 commit into
DevExpress:26_1from
Raushen:T1329805_26_1

Conversation

@Raushen

@Raushen Raushen commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Raushen Raushen requested review from a team and Copilot June 24, 2026 13:35
@Raushen Raushen self-assigned this Jun 24, 2026
@Raushen Raushen added the 26_1 label Jun 24, 2026

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 DataGrid scrolling when the pointer is over content rendered inside a Web Component (Shadow DOM) by ensuring DevExtreme’s gesture emitter lookup can traverse out of a shadow tree to find emitters attached on ancestor elements.

Changes:

  • Updated EventManager._closestEmitter traversal to walk via DOM parent nodes with Shadow DOM host fallback (instead of renderer/jQuery .parent()).
  • Added getParentNode DOM utility to support walking from a shadow root to its host.
  • Added Jest coverage validating dxscrollinit is triggered when wheel events originate from both regular descendants and Shadow DOM descendants.

Reviewed changes

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

File Description
packages/devextreme/js/__internal/events/core/m_emitter_registrator.ts Reworks emitter lookup to traverse parent nodes across Shadow DOM boundaries.
packages/devextreme/js/__internal/events/core/tests/emitter_registrator.test.ts Adds regression tests for gesture emitter lookup with Shadow DOM wheel targets.
packages/devextreme/js/__internal/core/utils/m_dom.ts Introduces getParentNode utility and exports it for reuse.

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