From c35d50580f7e9598174b2cacd2762eb70952530b Mon Sep 17 00:00:00 2001 From: Logan Yang Date: Mon, 29 Jun 2026 18:53:05 -0700 Subject: [PATCH] Stop the Copilot Plus license hint click from toggling the group Tapping the key-icon hint (which opens the tooltip on mobile) bubbled to the CollapsibleTrigger and collapsed/expanded the whole group. Wrap it in a span that stops pointer/click propagation. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_018ou7V5v4UYHkzP3csodLLm --- src/agentMode/ui/ModelEnableList.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/agentMode/ui/ModelEnableList.tsx b/src/agentMode/ui/ModelEnableList.tsx index 3594b752..40c31a8f 100644 --- a/src/agentMode/ui/ModelEnableList.tsx +++ b/src/agentMode/ui/ModelEnableList.tsx @@ -170,9 +170,22 @@ export const ModelEnableList: React.FC = ({ )} {group.tooltip && ( - - - + // Stop pointer/click from bubbling to the CollapsibleTrigger so + // tapping the hint (which opens the tooltip on mobile) doesn't + // also collapse/expand the group. + e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} + > + + + + )}