]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix display of tooltips inside tables 35734/head
authorTiago Melo <tmelo@suse.com>
Tue, 23 Jun 2020 17:52:00 +0000 (17:52 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 23 Jun 2020 17:52:00 +0000 (17:52 +0000)
Hover event was not being propagated into the components inside the table.

Fixes: https://tracker.ceph.com/issues/45968
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts

index fe4fd756b15ed46b1e53efa398953872ebbb0798..6c4d171e23b32833d0a0a3d2a7e49b7ebd7825f1 100644 (file)
@@ -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.