fix(dashboard): allowlist input erased by polling refresh #111

Merged
razvandimescu merged 1 commits from fix/allowlist-input-focus into main 2026-04-16 20:27:02 +08:00

1 Commits

Author SHA1 Message Date
Razvan Dimescu
b69cc89d38 fix(dashboard): skip allowlist re-render while input has focus
The polling refresh replaced the entire allowlist panel innerHTML every
2 seconds, destroying the input field mid-typing. Users had to
paste-and-enter faster than the refresh interval — #106 reported this
as text "timing out and erasing."

Guard: skip renderAllowlist() when allowDomainInput has focus.
2026-04-16 15:12:00 +03:00