fix(FN-1843): add onClose prop to SkillsView and anchor node selector dropdown

- Add missing onClose prop to SkillsView component in App.tsx for proper close navigation
- Anchor node selector dropdown to left edge to prevent off-screen rendering
This commit is contained in:
Fusion
2026-04-15 05:07:16 -07:00
committed by gsxdsm
parent 949f9576de
commit 37de651b7e
2 changed files with 6 additions and 2 deletions

View File

@@ -318,7 +318,11 @@ function AppInner() {
if (taskView === "skills") { if (taskView === "skills") {
return ( return (
<PageErrorBoundary> <PageErrorBoundary>
<SkillsView addToast={addToast} projectId={currentProject?.id} onClose={() => handleChangeTaskView("board")} /> <SkillsView
addToast={addToast}
projectId={currentProject?.id}
onClose={() => handleChangeTaskView("board")}
/>
</PageErrorBoundary> </PageErrorBoundary>
); );
} }

View File

@@ -689,7 +689,7 @@ body {
.node-selector-dropdown { .node-selector-dropdown {
position: absolute; position: absolute;
top: calc(100% + var(--space-xs)); top: calc(100% + var(--space-xs));
right: 0; left: 0;
min-width: 180px; min-width: 180px;
background: var(--surface); background: var(--surface);
border: 1px solid var(--border); border: 1px solid var(--border);