Memories: Klick auf Details-Tab klappt Card wieder ein #123
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In der Memories-Ansicht kann man Observations ausklappen und dann zwischen "Narrative" und "Details" Tabs wechseln. Beim Klick auf einen Tab klappt sich die Card jedoch sofort wieder ein.
Ursache
Event-Propagation Bug.
Memories.tsx:196-197- Die Card hat einen onClick Handler:ObservationDetails.tsx:53-66- Die Tab-Buttons stoppen das Event nicht:Das Click-Event bubbled vom Tab-Button nach oben zur Card und triggert
setExpanded(!expanded), wodurch die Card wieder einklappt.Hinweis: Die URL-Links haben bereits
e.stopPropagation()(Zeile 202), aber die Tabs nicht.Lösung
e.stopPropagation()zu den Tab-Buttons hinzufügen:Betroffene Datei
packages/ui/src/components/ObservationDetails.tsx- Zeilen 53-66