[HIMA-751] Remission lists perfectscrollbar removed as dropdown filter functionality failure.

This commit is contained in:
Mikuta Aleksandras
2020-04-03 10:47:38 +02:00
parent 6cca96f65a
commit 7492c270a0
5 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
$device-height: 500px;
$tablet-height: 283px;
.remission-filter-item {
position: relative;
}
.filter {
.filter-title {
cursor: pointer;

View File

@@ -414,7 +414,6 @@ export class RemissionFilterItemComponent implements OnInit, OnDestroy, AfterVie
if (this.expanded && this.windowHeight && this.filterItem) {
const b = this.filterItem.nativeElement.getBoundingClientRect().bottom;
const h = this.windowHeight - b - 85;
this.renderer.setStyle(this.filterList.nativeElement, 'top', `${b}px`);
this.renderer.setStyle(this.filterList.nativeElement, 'height', `${h}px`);
return;
}

View File

@@ -2,7 +2,6 @@
#remissionListContainer
id="remission-list-container"
class="remission-list-container"
[perfectScrollbar]="{minScrollbarLength: 20}"
(scroll)="onScroll()"
>
<div class="headers" *ngIf="resourceTypeSwitch">

View File

@@ -25,7 +25,6 @@
id="remission-list-container"
#remissionListContainer
class="remission-list-container"
[perfectScrollbar]="{minScrollbarLength: 20}"
(scroll)="scrollHandler($event)"
*ngIf="!shippingDocumentCreationPage && loaded"
>

View File

@@ -67,7 +67,6 @@ import { RemissionsOverviewCardContentComponent } from './components/remissions-
import { RemissionDetailsComponent } from './pages/remission-details/remission-details.component';
import { RemissionDetailsProductComponent } from './components/remission-details-product/remission-details-product.component';
import { RemissionDetailsPrimaryCtaComponent } from './components/remission-details-primary-cta/remission-details-primary-cta.component';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
@NgModule({
declarations: [
@@ -110,7 +109,6 @@ import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
RemissionClientRoutingModule,
DoubleChoiceSwitchModule,
ProgressBarModule,
PerfectScrollbarModule,
SmallDoubleChoiceSwitchModule,
IconModule,
ButtonModule,