Commit b6245fb4 authored by Winnie Hellmann's avatar Winnie Hellmann

Reset scroll fade when filtering

parent 82f7a6a6
......@@ -113,6 +113,10 @@ export default {
},
},
watch: {
filteredBoards() {
this.scrollFadeInitialized = false;
this.$nextTick(this.setScrollFade);
},
reload() {
if (this.reload) {
this.boards = [];
......
......@@ -92,6 +92,7 @@ describe('BoardsSelector', () => {
});
it('shows the scroll fade if isScrolledUp', done => {
vm.scrollFadeInitialized = false;
scrollContainer.scrollTop = 0;
waitForScroll()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment