Merge pull request #1170 from buster-so/big-nate-bus-1958-rename-metric-in-three-dot-doesnt-do-anything

fix dashboard and metric rename
This commit is contained in:
Nate Kelley 2025-09-26 09:17:33 -06:00 committed by GitHub
commit 92b18d7466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -220,7 +220,7 @@ export const useRenameDashboardSelectMenu = ({
setTimeout(() => {
input.focus();
input.select();
}, 50);
}, 200);
}
},
}),

View File

@ -155,8 +155,10 @@ export const useRenameMetricOnPage = ({
() => document.getElementById(METRIC_CHART_TITLE_INPUT_ID) as HTMLInputElement
);
if (input) {
input.focus();
input.select();
setTimeout(() => {
input.focus();
input.select();
}, 250);
}
},
}),