You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65250a4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): thread title menu opens without a half-second wait on desktop
A single click on the chat header title waited 500 ms on desktop so a
double-click could start a rename before the native menu opened. The
menu now opens at once on every surface.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- clears the pending title-menu timer when the thread switches or the header unmounts
216
-
useEffect(
217
-
()=>()=>{
218
-
if(titleMenuTimerRef.current===null)return;
219
-
clearTimeout(titleMenuTimerRef.current);
220
-
titleMenuTimerRef.current=null;
221
-
},
222
-
// oxlint-disable-next-line react/exhaustive-effect-dependencies -- A pending title menu belongs to the thread that was clicked, so switching threads drops it.
0 commit comments