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
b6245fb4
Commit
b6245fb4
authored
Dec 20, 2018
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset scroll fade when filtering
parent
82f7a6a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
ee/app/assets/javascripts/boards/components/boards_selector.vue
.../assets/javascripts/boards/components/boards_selector.vue
+4
-0
ee/spec/javascripts/boards/components/boards_selector_spec.js
...pec/javascripts/boards/components/boards_selector_spec.js
+1
-0
No files found.
ee/app/assets/javascripts/boards/components/boards_selector.vue
View file @
b6245fb4
...
...
@@ -113,6 +113,10 @@ export default {
},
},
watch
:
{
filteredBoards
()
{
this
.
scrollFadeInitialized
=
false
;
this
.
$nextTick
(
this
.
setScrollFade
);
},
reload
()
{
if
(
this
.
reload
)
{
this
.
boards
=
[];
...
...
ee/spec/javascripts/boards/components/boards_selector_spec.js
View file @
b6245fb4
...
...
@@ -92,6 +92,7 @@ describe('BoardsSelector', () => {
});
it
(
'
shows the scroll fade if isScrolledUp
'
,
done
=>
{
vm
.
scrollFadeInitialized
=
false
;
scrollContainer
.
scrollTop
=
0
;
waitForScroll
()
...
...
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