From 9b9daf3d83452187a6cd929d152da28623cfbc38 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Mon, 23 Oct 2023 13:35:25 +0200 Subject: [PATCH] perf(dashboard): lags on dashboard items drag - `aria-labelledby` is not needed here, it is a hidden icon - `visually-hidden` has transformations that have huge performance impact in combination with other transformations, for example, on draggable Signed-off-by: Grigorii K. Shartsev --- apps/dashboard/src/DashboardApp.vue | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue index 055f1e68cb6..f9a21d44db9 100644 --- a/apps/dashboard/src/DashboardApp.vue +++ b/apps/dashboard/src/DashboardApp.vue @@ -24,20 +24,10 @@ class="panel">

- -

- - {{ t('dashboard', '"{title} icon"', { title: apiWidgets[panels[panelId].id].title }) }} -

-

- {{ t('dashboard', '"{title} icon"', { title: panels[panelId].title }) }}
@@ -102,10 +88,7 @@ :checked="isActive(panel)" @input="updateCheckbox(panel, $event.target.checked)">