Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): allow text selection when renaming threads #12935

Mergedcarterwsmith(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/12935/headmerged by maria-rcks View on GitHub

Showing 1 changed file with 3 additions and 1 deletion.

x
0 of 1 viewed, 1 left
3 additions and 1 deletionapps/web/src/components/Sidebar.tsxModified
View file
@@ -4798,7 +4798,9 @@
key={threadKey}
id={threadKey}
disabled={
- !draggableThreadKeys.has(threadKey) || optimisticDrop !== null
+ renamingThreadKey === threadKey ||
+ !draggableThreadKeys.has(threadKey) ||
+ optimisticDrop !== null
{(bag) => renderThreadRowInner(thread, section, bag)}