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

Commit 76dfac4

Browse files
committed
fix: reset overflow hidden for context menu
1 parent 570178a commit 76dfac4

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
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": "0.37.0",
3+
"version": "0.38.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: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Component,
55
ElementRef,
66
EventEmitter,
7-
HostListener,
87
Injector,
98
Input,
109
NgZone,
@@ -67,13 +66,6 @@ export class NgxContextMenuItemComponent implements OnInit, OnDestroy {
6766
return (this.itemRef && this.itemRef.nativeElement) || {};
6867
}
6968

70-
@HostListener('mouseenter')
71-
public mouseover(): void {
72-
if (this.state.opened) {
73-
detectChanges(this.cd);
74-
}
75-
}
76-
7769
public ngOnInit(): void {
7870
this.subscription = this.contextMenu.events.subscribe((): void => detectChanges(this.cd));
7971
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
transition: opacity 0.3s;
1616
min-height: 0;
1717
max-height: 0;
18-
overflow: hidden;
18+
overflow: initial;
1919
background: rgb(255, 255, 255);
2020
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.35);
2121
border-radius: 4px;

projects/table-builder/src/lib/table/styles/cell.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
&--selected {
119119
background: $selectionColor;
120+
transition: background 0.3s;
120121
}
121122

122123
&--settings {

0 commit comments

Comments
 (0)