Skip to content

Commit 62a6e85

Browse files
committed
Disable hit test when a chat panel tab is not active
1 parent e11d290 commit 62a6e85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Core/Sources/SuggestionWidget/ChatWindowView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ struct ChatTabContainer: View {
377377
tab.body
378378
.opacity(isActive ? 1 : 0)
379379
.disabled(!isActive)
380+
.allowsHitTesting(isActive)
380381
.frame(maxWidth: .infinity, maxHeight: .infinity)
381382
} else {
382383
EmptyView()

0 commit comments

Comments
 (0)