@trudb/tru-common-lib 0.2.131 → 0.2.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6068,12 +6068,14 @@ class TruDataGridCellRenderer {
6068
6068
  }
6069
6069
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridCellRenderer, deps: [{ token: TruDataContext }, { token: TruDataGridClipboard }], target: i0.ɵɵFactoryTarget.Component });
6070
6070
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: TruDataGridCellRenderer, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: MatMenuTrigger, descendants: true }], ngImport: i0, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
6071
- <div style="visibility: hidden; position: fixed;"
6072
- [style.left]="contextMenuPosition.x"
6073
- [style.top]="contextMenuPosition.y"
6071
+ <div style="visibility: hidden; position: absolute;"
6072
+ [style.left]="0"
6073
+ [style.top]="0"
6074
6074
  [matMenuTriggerFor]="truDataGridCellContextMenu">
6075
6075
  </div>
6076
- <mat-menu #truDataGridCellContextMenu="matMenu">
6076
+ <mat-menu #truDataGridCellContextMenu="matMenu"
6077
+ [style.left]="contextMenuPosition.x"
6078
+ [style.top]="contextMenuPosition.y">
6077
6079
  <button mat-menu-item (click)="onCopy($event)">
6078
6080
  <mat-icon [svgIcon]="'copy-icon'"></mat-icon>
6079
6081
  <span>Copy</span>
@@ -6095,12 +6097,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
6095
6097
  MatButtonModule,
6096
6098
  MatMenuModule
6097
6099
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: `<div (contextmenu)="onRightClick($event)">{{displayValue}}
6098
- <div style="visibility: hidden; position: fixed;"
6099
- [style.left]="contextMenuPosition.x"
6100
- [style.top]="contextMenuPosition.y"
6100
+ <div style="visibility: hidden; position: absolute;"
6101
+ [style.left]="0"
6102
+ [style.top]="0"
6101
6103
  [matMenuTriggerFor]="truDataGridCellContextMenu">
6102
6104
  </div>
6103
- <mat-menu #truDataGridCellContextMenu="matMenu">
6105
+ <mat-menu #truDataGridCellContextMenu="matMenu"
6106
+ [style.left]="contextMenuPosition.x"
6107
+ [style.top]="contextMenuPosition.y">
6104
6108
  <button mat-menu-item (click)="onCopy($event)">
6105
6109
  <mat-icon [svgIcon]="'copy-icon'"></mat-icon>
6106
6110
  <span>Copy</span>