Skip to content

Commit e65bc1c

Browse files
authored
fix(web): allow text selection when renaming threads (pingdotgg#12935)
1 parent 5423ba0 commit e65bc1c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4772,7 +4772,9 @@ export default function Sidebar() {
47724772
key={threadKey}
47734773
id={threadKey}
47744774
disabled={
4775-
!draggableThreadKeys.has(threadKey) || optimisticDrop !== null
4775+
renamingThreadKey === threadKey ||
4776+
!draggableThreadKeys.has(threadKey) ||
4777+
optimisticDrop !== null
47764778
}
47774779
>
47784780
{(bag) => renderThreadRowInner(thread, section, bag)}

0 commit comments

Comments
 (0)