Skip to content

Commit b5aa03b

Browse files
committed
hide movement controls when filtering
1 parent 92c5ffd commit b5aa03b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/components/settings/project_life_cycle_step_definitions/row_component.html.erb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ See COPYRIGHT and LICENSE files for more details.
3131
flex_layout(align_items: :center, justify_content: :space_between) do |row_container|
3232
row_container.with_column(flex_layout: true, classes: "gap-2") do |title_container|
3333
title_container.with_column do
34-
render(Primer::OpenProject::DragHandle.new)
34+
render(Primer::OpenProject::DragHandle.new(
35+
data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }
36+
))
3537
end
3638
title_container.with_column do
3739
render(Primer::Beta::Link.new(

app/components/settings/project_life_cycle_step_definitions/row_component.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def move_action(menu:, move_to:, label:, icon:)
4343
href: move_admin_settings_project_life_cycle_step_definition_path(definition, move_to:),
4444
form_arguments: {
4545
method: :patch
46+
},
47+
data: {
48+
"projects--settings--border-box-filter-target": "hideWhenFiltering"
4649
}
4750
) do |item|
4851
item.with_leading_visual_icon(icon:)

0 commit comments

Comments
 (0)