Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d6068057
Commit
d6068057
authored
May 29, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
b9e2dcc5
156998f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
app/assets/javascripts/gl_dropdown.js
app/assets/javascripts/gl_dropdown.js
+4
-0
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+2
-2
changelogs/unreleased/61639-flaky-spec-issue-boards-labels-creates-project-label-spec-features-boards-sidebar_spec-rb-350.yml
...roject-label-spec-features-boards-sidebar_spec-rb-350.yml
+5
-0
spec/features/boards/sidebar_spec.rb
spec/features/boards/sidebar_spec.rb
+4
-0
No files found.
app/assets/javascripts/gl_dropdown.js
View file @
d6068057
...
...
@@ -335,6 +335,10 @@ GitLabDropdown = (function() {
_this
.
fullData
=
data
;
_this
.
parseData
(
_this
.
fullData
);
_this
.
focusTextInput
();
// Update dropdown position since remote data may have changed dropdown size
_this
.
dropdown
.
find
(
'
.dropdown-menu-toggle
'
).
dropdown
(
'
update
'
);
if
(
_this
.
options
.
filterable
&&
_this
.
filter
&&
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
d6068057
...
...
@@ -570,10 +570,10 @@
}
.dropdown-menu-close
{
right
:
5px
;
top
:
$gl-padding-4
;
right
:
$gl-padding-8
;
width
:
20px
;
height
:
20px
;
top
:
-1px
;
}
.dropdown-menu-close-icon
{
...
...
changelogs/unreleased/61639-flaky-spec-issue-boards-labels-creates-project-label-spec-features-boards-sidebar_spec-rb-350.yml
0 → 100644
View file @
d6068057
---
title
:
Fix dropdown position when loading remote data
merge_request
:
28526
author
:
type
:
fixed
spec/features/boards/sidebar_spec.rb
View file @
d6068057
...
...
@@ -352,6 +352,8 @@ describe 'Issue Boards', :js do
page
.
within
(
'.labels'
)
do
click_link
'Edit'
wait_for_requests
click_link
'Create project label'
fill_in
'new_label_name'
,
with:
'test label'
first
(
'.suggest-colors-dropdown a'
).
click
...
...
@@ -368,6 +370,8 @@ describe 'Issue Boards', :js do
page
.
within
(
'.labels'
)
do
click_link
'Edit'
wait_for_requests
click_link
'Create project label'
fill_in
'new_label_name'
,
with:
'test label'
first
(
'.suggest-colors-dropdown a'
).
click
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment