Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 6a70e24

Browse files
authored
chore(desktop): spaces dragging fix + dev flag (#3916)
1 parent 5f7dbf3 commit 6a70e24

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

packages/ui/src/features/canvas/hooks/useChannelsLayout.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ export function useChannelsLayout(): boolean {
1010
PROJECT_BLUEBIRD_FLAG,
1111
import.meta.env.DEV,
1212
);
13-
const layoutEnabled = useFeatureFlag(CHANNELS_LAYOUT_FLAG, false);
13+
const layoutEnabled = useFeatureFlag(
14+
CHANNELS_LAYOUT_FLAG,
15+
import.meta.env.DEV,
16+
);
1417
return layoutEnabled && bluebirdEnabled;
1518
}

packages/ui/src/features/command/CommandSearchBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export function CommandSearchBar({ onClick }: { onClick: () => void }) {
1818
return (
1919
// The row is a window-drag region; the field has to opt out of it or the
2020
// press that should open the menu drags the window instead.
21-
<div className="no-drag mt-px min-w-0 flex-1 px-3">
21+
<div className="mt-px min-w-0 flex-1 px-3">
2222
<button
2323
type="button"
2424
aria-label="Search"
2525
onClick={onClick}
26-
className="mx-auto flex h-7 w-full max-w-120 items-center gap-2 rounded-sm bg-fill-hover pr-1 pl-2 hover:bg-fill-selected dark:hover:bg-input/80"
26+
className="no-drag mx-auto flex h-7 w-full max-w-120 items-center gap-2 rounded-sm bg-fill-hover pr-1 pl-2 hover:bg-fill-selected dark:hover:bg-input/80"
2727
>
2828
<MagnifyingGlass size={14} className="shrink-0" />
2929
<span className="min-w-0 flex-1 truncate text-left text-[13px]">

0 commit comments

Comments
 (0)