File tree 4 files changed +29
-28
lines changed
javascripts/ide/components
4 files changed +29
-28
lines changed Original file line number Diff line number Diff line change @@ -58,19 +58,17 @@ export default {
58
58
59
59
<template >
60
60
<div >
61
- <div class =" dropdown-input mt-3 pb-3 mb-0 border-bottom" >
62
- <div class =" position-relative" >
63
- <input
64
- ref =" searchInput"
65
- v-model =" search"
66
- :placeholder =" __('Search branches')"
67
- type =" search"
68
- class =" form-control dropdown-input-field"
69
- @input =" searchBranches"
70
- />
71
- <icon :size =" 18" name =" search" class =" input-icon" />
72
- </div >
73
- </div >
61
+ <label class =" dropdown-input pt-3 pb-3 mb-0 border-bottom block position-relative" @click.stop >
62
+ <input
63
+ ref =" searchInput"
64
+ v-model =" search"
65
+ :placeholder =" __('Search branches')"
66
+ type =" search"
67
+ class =" form-control dropdown-input-field"
68
+ @input =" searchBranches"
69
+ />
70
+ <icon :size =" 18" name =" search" class =" input-icon" />
71
+ </label >
74
72
<div class =" dropdown-content ide-merge-requests-dropdown-content d-flex" >
75
73
<gl-loading-icon
76
74
v-if =" isLoading"
Original file line number Diff line number Diff line change @@ -76,19 +76,17 @@ export default {
76
76
77
77
<template >
78
78
<div >
79
- <div class =" dropdown-input mt-3 pb-3 mb-0 border-bottom" >
80
- <div class =" position-relative" >
81
- <tokened-input
82
- v-model =" search"
83
- :tokens =" searchTokens"
84
- :placeholder =" __('Search merge requests')"
85
- @focus =" onSearchFocus"
86
- @input =" searchMergeRequests"
87
- @removeToken =" setSearchType(null)"
88
- />
89
- <icon :size =" 18" name =" search" class =" input-icon" />
90
- </div >
91
- </div >
79
+ <label class =" dropdown-input pt-3 pb-3 mb-0 border-bottom block" @click.stop >
80
+ <tokened-input
81
+ v-model =" search"
82
+ :tokens =" searchTokens"
83
+ :placeholder =" __('Search merge requests')"
84
+ @focus =" onSearchFocus"
85
+ @input =" searchMergeRequests"
86
+ @removeToken =" setSearchType(null)"
87
+ />
88
+ <icon :size =" 18" name =" search" class =" input-icon" />
89
+ </label >
92
90
<div class =" dropdown-content ide-merge-requests-dropdown-content d-flex" >
93
91
<gl-loading-icon
94
92
v-if =" isLoading"
@@ -107,7 +105,7 @@ export default {
107
105
<span class =" d-flex append-right-default ide-search-list-current-icon" >
108
106
<icon :size =" 18" name =" search" />
109
107
</span >
110
- <span > {{ searchType.label }} </span >
108
+ <span >{{ searchType.label }}</span >
111
109
</button >
112
110
</li >
113
111
</template >
Original file line number Diff line number Diff line change @@ -1188,7 +1188,7 @@ $ide-commit-header-height: 48px;
1188
1188
1189
1189
.input-icon {
1190
1190
right : auto ;
1191
- left : 10 px ;
1191
+ left : 26 px ;
1192
1192
top : 50% ;
1193
1193
transform : translateY (-50% );
1194
1194
}
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Fix an issue where clicking outside the MR/branch search box in WebIDE closed the dropdown.
3
+ merge_request : 31523
4
+ author :
5
+ type : fixed
You can’t perform that action at this time.
0 commit comments