fix(scrollbar): remove custom scrollbar

This commit is contained in:
Tomasz Borychowski 2020-08-28 11:46:51 +01:00
parent 13b5bb6407
commit d887e553ce
27 changed files with 51 additions and 4668 deletions

View file

@ -120,9 +120,6 @@
form
margin-bottom: 9px
.ps-scrollbar-y-rail
transform: translateX(2px)
.open-minicard-composer
border-radius: 2px
color: #8c8c8c

View file

@ -1,5 +1,5 @@
template(name="listBody")
.list-body.js-perfect-scrollbar
.list-body
.minicards.clearfix.js-minicards(class="{{#if reachedWipLimit}}js-list-full{{/if}}")
if cards.count
+inlinedForm(autoclose=false position="top")
@ -106,7 +106,7 @@ template(name="searchElementPopup")
option(value="{{_id}}") {{title}}
form.js-search-term-form
input(type="text" name="searchTerm" placeholder="{{_ 'search-example'}}" autofocus dir="auto")
.list-body.js-perfect-scrollbar.search-card-results
.list-body.search-card-results
.minicards.clearfix.js-minicards
if isBoardTemplateSearch
each results

View file

@ -8,7 +8,7 @@ BlazeComponent.extendComponent({
},
mixins() {
return [Mixins.PerfectScrollbar];
return [];
},
openForm(options) {
@ -523,7 +523,7 @@ BlazeComponent.extendComponent({
BlazeComponent.extendComponent({
mixins() {
return [Mixins.PerfectScrollbar];
return [];
},
onCreated() {
@ -721,7 +721,7 @@ BlazeComponent.extendComponent({
onRendered() {
this.spinner = this.find('.sk-spinner-list');
this.container = this.$(this.spinner).parents('.js-perfect-scrollbar')[0];
this.container = this.$(this.spinner).parents('.list-body')[0];
$(this.container).on(
`scroll.spinner_${this.swimlaneId}_${this.listId}`,