Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Commit 5bf0ff7

Browse files
committed
!fixup
1 parent 3866b27 commit 5bf0ff7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

projects/table-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-ru/ng-table-builder",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"license": "MIT",
55
"bugs": {
66
"url": "https://github.com/Angular-RU/ng-table-builder/issues"

projects/table-builder/src/lib/table/components/ngx-context-menu/ngx-context-menu-item/ngx-context-menu-item.component.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
Component,
55
ElementRef,
66
EventEmitter,
7+
HostListener,
78
Injector,
89
Input,
910
NgZone,
@@ -44,7 +45,6 @@ export class NgxContextMenuItemComponent implements OnInit, OnDestroy {
4445
private subscription: Subscription;
4546
private taskId: number;
4647
private readonly contextMenu: ContextMenuService;
47-
4848
private readonly utils: UtilsService;
4949
private readonly ngZone: NgZone;
5050

@@ -54,6 +54,13 @@ export class NgxContextMenuItemComponent implements OnInit, OnDestroy {
5454
this.ngZone = injector.get<NgZone>(NgZone);
5555
}
5656

57+
@HostListener('mouseenter')
58+
public mouseover(): void {
59+
if (this.state.opened) {
60+
detectChanges(this.cd);
61+
}
62+
}
63+
5764
public get state(): ContextMenuState {
5865
return this.contextMenu.state;
5966
}

0 commit comments

Comments
 (0)