Fix slider focus stealing keyboard shortcuts after interaction

This commit is contained in:
evanpelle
2026-03-09 16:53:30 -07:00
parent 27476b8938
commit aa24438edf
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ export class InputHandler {
}
if (element.tagName === "INPUT") {
const input = element as HTMLInputElement;
if (input.id === "attack-ratio" && input.type === "range") {
if (input.type === "range") {
return false;
}
return true;