From: Tiago Melo Date: Tue, 23 Jun 2020 17:52:00 +0000 (+0000) Subject: mgr/dashboard: Fix display of tooltips inside tables X-Git-Tag: v16.1.0~1958^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=14cb1f9f6c96c2a06561b79541bf312cd3562575;p=ceph.git 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 --- 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.