[PR #6789] Desktop: Fix Responsive Menu #12107

Closed
opened 2026-02-16 18:17:02 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6789

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6789 **State:** closed **Merged:** Yes --- 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.
yindo added the pull-request label 2026-02-16 18:17:02 -05:00
yindo closed this issue 2026-02-16 18:17:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12107