Merge pull request #5072 from tsiegleauq/vscroll-performance

Fix flickering in tables
This commit is contained in:
Emanuel Schütze 2019-10-11 09:51:37 +02:00 committed by GitHub
commit c2b89c0bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 13 deletions

View File

@ -15,7 +15,6 @@
<pbl-ngrid
[ngClass]="cssClasses"
[vScrollFixed]="vScrollFixed"
cellTooltip
[showHeader]="!showFilterBar"
matCheckboxSelection="selection"
[dataSource]="dataSource"

View File

@ -35,16 +35,14 @@
[routerLink]="getDetailUrl(item)"
*ngIf="!isMultiSelect"
></a>
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }">
<div [ngStyle]="{ 'margin-left': item.level * 25 + 'px' }" class="innerTable ellipsis-overflow">
<os-icon-container [noWrap]="true" [icon]="item.closed ? 'check' : null" size="large">
<div>
<div>
{{ item.getListTitle() }}
</div>
<div *ngIf="showSubtitle" class="subtitle">
{{ item.getSubtitle() }}
</div>
</div>
<span>
{{ item.getListTitle() }}
</span>
<span *ngIf="showSubtitle" class="subtitle ">
{{ item.getSubtitle() }}
</span>
</os-icon-container>
</div>
</div>

View File

@ -82,7 +82,7 @@
</span>
<!-- The title -->
<span class="motion-list-title">
<span>
<span *ngIf="vp.isMobile && motion.identifier">
{{ motion.identifier }}
<span>&middot;</span>

View File

@ -162,9 +162,8 @@ $narrow-spacing: (
}
.pbl-ngrid-cell {
position: relative;
.fill {
position: relative;
display: inherit;
height: 100%;
width: 100%;