mirror of
https://github.com/TriliumNext/Trilium.git
synced 2026-10-12 02:09:59 +00:00
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]>