dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Replace all pointerdown events with mousedown events

Open samelie opened this issue 5 months ago • 3 comments

  • Changed all 'pointerdown' event listeners to 'mousedown'
  • Updated corresponding event handler method names (onPointerDown -> onMouseDown)
  • Updated private property names (_onPointDown -> _onMouseDown) for consistency
  • Fixed TypeScript event parameter types (PointerEvent -> MouseEvent)
  • Updated related pointer events (pointermove, pointerup, pointercancel) to mouse events (mousemove, mouseup, mouseleave) in splitview
  • Maintained full functionality while switching from pointer events to mouse events

🤖 Generated with Claude Code

samelie avatar Aug 22 '25 18:08 samelie

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 705e0777285130c2cbfd0e0717e675b7264c6a78:

Sandbox Source
customheader-dockview Configuration
dockview-app Configuration
editor-gridview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
nativeapp-dockview Configuration
rendering-dockview Configuration

codesandbox-ci[bot] avatar Aug 22 '25 18:08 codesandbox-ci[bot]

Can you explain why you wanted to use mouse events rather than pointer events?

mathuo avatar Aug 29 '25 18:08 mathuo

Hi matteo this is a fantastic library. Thank you. If my tool works out then I can definitely sponsor you.

I'm developing a tool Inside of adobe CEP ( custom panel inside of Adobe products are a modified chromium )

I discovered after many painful experiments that adobe CEP blocks pointer events but allows mouse events ...

CEP also does some things to the events where event.defaultPrevented is true therefore blocking a lot of the tab selection

I'm not sure what to do with all this code that Claude wrote

samelie avatar Aug 29 '25 19:08 samelie