Skip to content

Commit 73b7eae

Browse files
raludiclaude
andcommitted
Fix menu row hit areas — full-width click/hover on all buttons
Apply .contentShape(Rectangle()) to MenuRow and MenuToggleRow so the entire row is clickable, not just the icon/text. Fixes Quit button and toggle rows being hard to click. Cherry-picked from upstream PR farouqaldori#61. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent efe7459 commit 73b7eae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ClaudeIsland/UI/Views/NotchMenuView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ struct MenuRow: View {
253253
}
254254
.padding(.horizontal, 12)
255255
.padding(.vertical, 10)
256+
.contentShape(Rectangle())
256257
.background(
257258
RoundedRectangle(cornerRadius: 8)
258259
.fill(isHovered ? Color.white.opacity(0.08) : Color.clear)
@@ -302,6 +303,7 @@ struct MenuToggleRow: View {
302303
}
303304
.padding(.horizontal, 12)
304305
.padding(.vertical, 10)
306+
.contentShape(Rectangle())
305307
.background(
306308
RoundedRectangle(cornerRadius: 8)
307309
.fill(isHovered ? Color.white.opacity(0.08) : Color.clear)

0 commit comments

Comments
 (0)