chat-ui
7d1e3b65 - Fix double-click issue in navigation bar (#1999)

Commit
29 days ago
Fix double-click issue in navigation bar (#1999) fix: prevent navigation double-click issue in production Change preload behavior for conversation links from "hover" to "tap". The issue was caused by SvelteKit's data preloading on hover combined with production network conditions. When hovering over a conversation link, preloading would start but could be slow or fail due to network latency. Clicking while a preload was pending/failed would cause the first click to be ineffective. By using data-sveltekit-preload-data="tap", the preload only starts when the user clicks, eliminating the race condition between hover preload and click navigation. Co-authored-by: Claude <noreply@anthropic.com>
Author
Parents
Loading