fix(reader): Save/Cancel in the note editor closes the whole popover
Release / build-and-push (push) Successful in 2m46s

Cancel only collapsed the editor section, and edit-mode saves only set
noteOpen=false — the minimized popover (colors/pencil/copy/delete) stayed
up. Explicit Save and Cancel now call hideSelectionPopover; color tweaks
with the editor open still keep it open.
This commit is contained in:
John O'Keefe
2026-09-17 11:47:25 -04:00
parent d8179bb066
commit b3a429d7e1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ templ Reader(user User, metadata ReaderMetadata) {
type="button"
class="flex-1 py-1 text-xs border rounded hover:opacity-80"
style="border-color: var(--border);"
@click="selectionPopover.noteOpen = false"
@click="hideSelectionPopover()"
>Cancel</button>
</div>
</div>