Dragging tabs not possible by preventing default on mouse down on Header
Hi, [this line](https://github.com/zeit/hyper/blob/a7595c1a45bf584c9baee490e6c3bffc04732183/lib/components/header.js#L34) prevents drag&drop API from working on anything inside Header component (in my case, it's tabs). This is blocking https://github.com/patrik-piskay/hyperterm-tabs/issues/6 and it was working correctly until 0.8 (this release introduced the `ev.preventDefault()` line). Is there a better solution or at least a possibility to override the default `onMouseDown` handler? I am happy to submit a PR that will fix this, just want to discuss possible approaches. Thanks!
Posted by patrik-piskay on Oct 20, 2016, 2:25 PM
Tags
Related issues
- [BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
- Feature Request: Auto-resume CLI session when usage limit resets
- Please deobfuscate the Python
- [Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
- # 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
- [FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
reliability (Software)
[BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
Feature Request: Auto-resume CLI session when usage limit resets
Please deobfuscate the Python
[Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
# 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
[FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Admin Materials and Surfaces
AMD Support
Dragging tabs not possible by preventing default on mouse down on Header
Hi, [this line](https://github.com/zeit/hyper/blob/a7595c1a45bf584c9baee490e6c3bffc04732183/lib/components/header.js#L34) prevents drag&drop API from working on anything inside Header component (in my case, it's tabs). This is blocking https://github.com/patrik-piskay/hyperterm-tabs/issues/6 and it was working correctly until 0.8 (this release introduced the `ev.preventDefault()` line). Is there a better solution or at least a possibility to override the default `onMouseDown` handler? I am happy to submit a PR that will fix this, just want to discuss possible approaches. Thanks!
Comments (0)
No comments yet. Start the discussion.