From 20850d97936b34227a09bd8c283c88ff8dc347cc Mon Sep 17 00:00:00 2001 From: Nato Boram Date: Mon, 25 Oct 2021 13:45:46 -0400 Subject: [PATCH] input.scrollLeft = input.scrollWidth --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 30ff038..21f490f 100644 --- a/index.js +++ b/index.js @@ -97,6 +97,7 @@ async function write() { for (const letter of query.search) { await new Promise(resolve => setTimeout(resolve, Math.random() * 200 + 100)) input.value += letter + input.scrollLeft = input.scrollWidth } }