chat-ui
f8af3fba - Fix inline edit cleared immediately on double-click

Commit
214 days ago
Fix inline edit cleared immediately on double-click The dblclick event fires after two click events, so SvelteKit navigation from the <a> tag was resetting component state before the edit mode could take effect. Switch to onclick with e.detail >= 2 which intercepts the second click directly, preventing navigation and entering edit mode in the same event.
Author
Committer
Parents
Loading