Fix paragraph based amnedments in iOS

Fixes an issue on iOS devices regarding click-bindings in structural
loops.
iOS devices did not respond to any touch inputs in the given view.
The same behavious was observed in #5351
This is most a bug in angular or iOS webkit
This commit is contained in:
Sean 2021-02-12 13:11:46 +01:00
parent c1b4d3154d
commit eda242e83f

View File

@ -537,9 +537,7 @@
type="button"
mat-button
[matMenuTriggerFor]="changeRecoMenu"
*ngIf="
motion && (hasChangingObjects() || motion.modified_final_version)
"
*ngIf="motion && (hasChangingObjects() || motion.modified_final_version)"
>
<mat-icon>rate_review</mat-icon>
&nbsp;<span>{{ verboseChangeRecoMode[crMode] | translate }}</span>
@ -670,7 +668,9 @@
</div>
<!-- Text (hide preamble, if diff mode. The preample is included in the motion-detail-diff component) -->
<span *ngIf="showPreamble && !isRecoMode(ChangeRecoMode.Diff)" class="text-prefix-label">{{ preamble | translate }}</span>
<span *ngIf="showPreamble && !isRecoMode(ChangeRecoMode.Diff)" class="text-prefix-label">{{
preamble | translate
}}</span>
<!-- Regular motions or traditional amendments -->
<ng-container *ngIf="!editMotion && !motion.isStatuteAmendment() && !motion.isParagraphBasedAmendment()">
@ -902,7 +902,7 @@
</div>
<ng-container *ngIf="motion.parent && !isRecoMode(ChangeRecoMode.Diff) && !isFinalEdit">
<div
*ngFor="let paragraph of getAmendmentParagraphs()"
*ngFor="let paragraph of getAmendmentParagraphs(); trackBy: trackByIndex"
class="motion-text motion-text-diff amendment-view"
[class.line-numbers-none]="isLineNumberingNone()"
[class.line-numbers-inline]="isLineNumberingInline()"