SurfSense/surfsense_web/components/new-chat
mac-agent 6f6be19f9d fix: clear scroll-to-citation setTimeouts on panel close/unmount in source-detail-panel
Stagger setTimeout calls (50ms, 150ms, 300ms, 600ms, 1000ms) and the
final state-update timer were never cleared when the panel was closed
or unmounted, causing setState on unmounted component warnings.

Added scrollTimersRef to track all timeout IDs and clear them when
'open' becomes false or on unmount.

Fixes #1092
2026-04-04 07:05:28 -04:00
..
chat-header.tsx chore: ran linting 2026-03-30 01:50:41 +05:30
chat-share-button.tsx fix: add focus-visible styles to share button for improved accessibility 2026-03-27 15:22:26 +02:00
document-mention-picker.tsx perf: use useDeferredValue for search/filter transitions 2026-04-02 01:45:18 +05:30
model-selector.tsx refactor: integrate global loading effect into onboarding page and streamline LLMConfigForm usage for improved user experience 2026-03-29 18:46:01 +05:30
prompt-picker.tsx perf: use useDeferredValue for search/filter transitions 2026-04-02 01:45:18 +05:30
source-detail-panel.tsx fix: clear scroll-to-citation setTimeouts on panel close/unmount in source-detail-panel 2026-04-04 07:05:28 -04:00