From 14cb1f9f6c96c2a06561b79541bf312cd3562575 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 23 Jun 2020 17:52:00 +0000 Subject: [PATCH] mgr/dashboard: Fix display of tooltips inside tables Hover event was not being propagated into the components inside the table. Fixes: https://tracker.ceph.com/issues/45968 Signed-off-by: Tiago Melo --- .../frontend/src/app/shared/datatable/table/table.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts index fe4fd756b15..6c4d171e23b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts @@ -247,7 +247,7 @@ export class TableComponent implements AfterContentChecked, OnInit, OnChanges, O // ngx-datatable triggers calculations each time mouse enters a row, // this will prevent that. - this.table.element.addEventListener('mouseenter', (e) => e.stopPropagation(), true); + this.table.element.addEventListener('mouseenter', (e) => e.stopPropagation()); this._addTemplates(); if (!this.sorts) { // Check whether the specified identifier exists. -- 2.39.5