keevo-components 1.5.8 → 1.5.9

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.
@@ -1079,8 +1079,10 @@ class TableComponent {
1079
1079
  abrirMenuFiltro(e) {
1080
1080
  this.mouseInMenuFiltro = true;
1081
1081
  this.menuFiltro = !this.menuFiltro;
1082
+ console.log(e, 'event');
1082
1083
  // this.renderer.setStyle(this.menuFiltroDiv.nativeElement, 'top', `${e.pageY}px`);
1083
- // this.renderer.setStyle(this.menuFiltroDiv.nativeElement, 'left', `${e.pageX}px`);
1084
+ if (this.tamanhoTela > 768)
1085
+ this.renderer.setStyle(this.menuFiltroDiv.nativeElement, 'left', `${e.x}px`);
1084
1086
  let visibilityMode = this.menuFiltro ? 'visible' : 'hidden';
1085
1087
  this.renderer.setStyle(this.menuFiltroDiv.nativeElement, 'visibility', visibilityMode);
1086
1088
  }