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 8d5b8cf3df
commit e22c929264
2 changed files with 6 additions and 2 deletions

View File

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

View File

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