From c361047cafcfd10e40cabbe9fd975fde1fa7093c Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:58:13 +0300 Subject: [PATCH] M: Disable selection for control elements --- rsconcept/frontend/src/components/dropdown/dropdown-button.tsx | 2 +- .../components/pick-location/select-location-context.tsx | 2 +- .../src/features/library/pages/library-page/toolbar-search.tsx | 2 +- .../features/oss/dialogs/dlg-create-block/tab-block-card.tsx | 2 +- rsconcept/frontend/src/features/oss/dialogs/dlg-edit-block.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx b/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx index 63c9c522..579bfbb1 100644 --- a/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx +++ b/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx @@ -37,7 +37,7 @@ export function DropdownButton({ 'px-3 py-1 inline-flex items-center gap-2', 'text-left text-sm text-ellipsis whitespace-nowrap', 'disabled:text-muted-foreground disabled:opacity-75', - 'focus-outline cc-animate-background', + 'focus-outline cc-animate-background select-none', !!onClick ? 'cc-hover-bg cursor-pointer disabled:cursor-auto' : 'bg-secondary text-secondary-foreground', className )} diff --git a/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx b/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx index 2ec4ffbb..ac9e3a25 100644 --- a/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx +++ b/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx @@ -38,7 +38,7 @@ export function SelectLocationContext({