Optimized form input field navigation delay

This commit is contained in:
Bernd Bestel
2025-01-31 15:35:34 +01:00
parent c8ac094bf4
commit a35db9f1d3
62 changed files with 99 additions and 92 deletions

View File

@@ -882,3 +882,10 @@ $(document).on("click", '.btn, a, button', function(e)
document.activeElement.blur();
$(".tooltip").tooltip("hide");
});
// Delay only initial field focus
Grocy.FormFocusDelay = 500;
setTimeout(function()
{
Grocy.FormFocusDelay = 0;
}, 1000);