opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Desktop: Fix Responsive Menu

Open dbpolito opened this issue 2 weeks ago • 0 comments

The data-tauri-drag-region attribute was on the header which contains interactive elements like the mobile menu button. In Tauri, this attribute makes the element act as a window drag area, which intercepts click events before they reach child elements.

Since there's already a dedicated drag region div in packages/desktop/src/index.tsx:201 for macOS, the header doesn't need this attribute. Removing it allows click events to properly propagate to the mobile menu button.

dbpolito avatar Jan 04 '26 00:01 dbpolito