Files
Trilium/packages
Elian DoranandClaude Opus 5.5 fae38aec40 fix(share): close the mobile drawer when the current note is selected in place
Clicking the current note, or another clone of it, in the tree keeps
the page and moves the selection, so no new page loads to dismiss the
narrow-screen drawer: it stayed open over the page with scrolling
locked. The click handler now removes `menu-open` after selecting the
entry. It does so inline, since `layout.ts` imports its stylesheet and
`tree_state.ts` is bundled into the import-free `tree.js`.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-09 22:14:28 +03:00
..