From 5e907783fd7d5f092d1eb8379a6efdfa55008d5d Mon Sep 17 00:00:00 2001 From: hjkwon <80230648+GagaKor@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:23:23 +0900 Subject: [PATCH] fix(linear): make new-project dialog popovers wheel-scrollable (#16413) The Team, Lead, Members and Labels popovers in the Linear new-project dialog are portaled outside the dialog, so its scroll-lock cancelled native wheel input over their inner max-h-64 lists. Opt their PopoverContent into the shared wheel shim via wheelScroll, and move the p-1 padding onto the children so the layout is unchanged. Fixes #16412 Co-authored-by: Neil --- .../task-page/linear/ProjectDialog.tsx | 6 ++--- .../task-page/linear/ProjectFields.tsx | 24 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/renderer/src/components/task-page/linear/ProjectDialog.tsx b/src/renderer/src/components/task-page/linear/ProjectDialog.tsx index 38571cb7990..1ceae59890b 100644 --- a/src/renderer/src/components/task-page/linear/ProjectDialog.tsx +++ b/src/renderer/src/components/task-page/linear/ProjectDialog.tsx @@ -78,11 +78,11 @@ export function TaskPageLinearProjectDialog({ - -
+ +
{translate('auto.components.TaskPage.a98cbe7664', 'Team')}
-
+
{availableTeams.map((team) => ( - -
+ +
{translate('auto.components.TaskPage.34da8ac06c', 'Lead')}
{newLinearProjectMembers.loading ? ( -
+
) : ( -
+
- -
+ +
{translate('auto.components.TaskPage.d6cda23ef1', 'Members')}
{newLinearProjectMembers.loading ? ( -
+
) : ( -
+
{newLinearProjectMembers.data.map((member) => { const selected = newLinearProjectMemberIds.includes(member.id) return ( @@ -268,16 +268,16 @@ export function TaskPageLinearProjectFields({ - -
+ +
{translate('auto.components.TaskPage.d0ca4aa1d0', 'Labels')}
{newLinearProjectLabels.loading ? ( -
+
) : ( -
+
{newLinearProjectLabels.data.length === 0 ? (
{translate('auto.components.TaskPage.af9e877f30', 'No labels')}