@trudb/tru-common-lib 0.0.285 → 0.0.286
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.
- package/esm2020/lib/directives/select-panel/tru-mat-select-panel.mjs +3 -4
- package/fesm2015/trudb-tru-common-lib.mjs +2 -3
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +2 -3
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1661,7 +1661,6 @@ class TruMatSelectPanel {
|
|
|
1661
1661
|
ngOnInit() {
|
|
1662
1662
|
this.select.openedChange.subscribe(isOpen => {
|
|
1663
1663
|
if (isOpen) {
|
|
1664
|
-
this.mouseOver = true;
|
|
1665
1664
|
let panelElement = this.select.panel.nativeElement;
|
|
1666
1665
|
let panelParentElement = this.select.panel.nativeElement.parentNode;
|
|
1667
1666
|
let panelOverlayContainerElement = this.util.findClosestAncestorByClass(panelElement, '.cdk-overlay-container');
|
|
@@ -1669,10 +1668,10 @@ class TruMatSelectPanel {
|
|
|
1669
1668
|
panelParentElement.style.width = 'auto';
|
|
1670
1669
|
panelOverlayContainerElement.style.position = 'static';
|
|
1671
1670
|
panelOverlayBackdropElement.style.display = 'none';
|
|
1672
|
-
this.mouseEnterEvent = this.renderer.listen(panelElement, '
|
|
1671
|
+
this.mouseEnterEvent = this.renderer.listen(panelElement, 'mouseover', () => {
|
|
1673
1672
|
this.mouseOver = true;
|
|
1674
1673
|
});
|
|
1675
|
-
this.mouseLeaveEvent = this.renderer.listen(panelElement, '
|
|
1674
|
+
this.mouseLeaveEvent = this.renderer.listen(panelElement, 'mouseout', () => {
|
|
1676
1675
|
this.mouseOver = false;
|
|
1677
1676
|
});
|
|
1678
1677
|
this.mouseUpEvent = this.renderer.listen(document, 'mouseup', () => {
|