feross/bitmidi.com

Search input loses focus on each keypress

awhitty opened this issue ยท 1 comments

Heyo ๐Ÿ‘‹

You might already be aware, and this repo is still very young, but when using Chrome 66.0.3359.181, typing in the search input only allows one key at a time. Here's a GIF of the behavior:

may-31-2018 10-14-51

There is an error logged to console as well (copy-pasta'd, no sourcemaps):

bundle.js?c=47DEQpj8HBSaTImW5:1 Uncaught (in promise) TypeError: Assignment to constant variable.
    at o (bundle.js?c=47DEQpj8HBSaTImW5:1)
    at ye.default.snippet.search (bundle.js?c=47DEQpj8HBSaTImW5:1)
    at bundle.js?c=47DEQpj8HBSaTImW5:1
    at bundle.js?c=47DEQpj8HBSaTImW5:1
o @ bundle.js?c=47DEQpj8HBSaTImW5:1
ye.default.snippet.search @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
Promise.then (async)
O @ bundle.js?c=47DEQpj8HBSaTImW5:1
k @ bundle.js?c=47DEQpj8HBSaTImW5:1
T @ bundle.js?c=47DEQpj8HBSaTImW5:1
search @ bundle.js?c=47DEQpj8HBSaTImW5:1
o @ bundle.js?c=47DEQpj8HBSaTImW5:1
load @ bundle.js?c=47DEQpj8HBSaTImW5:1
componentWillReceiveProps @ bundle.js?c=47DEQpj8HBSaTImW5:1
g @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
e @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
e @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
e @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
e @ bundle.js?c=47DEQpj8HBSaTImW5:1
p @ bundle.js?c=47DEQpj8HBSaTImW5:1
v @ bundle.js?c=47DEQpj8HBSaTImW5:1
g @ bundle.js?c=47DEQpj8HBSaTImW5:1
v @ bundle.js?c=47DEQpj8HBSaTImW5:1
g @ bundle.js?c=47DEQpj8HBSaTImW5:1
(anonymous) @ bundle.js?c=47DEQpj8HBSaTImW5:1
e @ bundle.js?c=47DEQpj8HBSaTImW5:1
p @ bundle.js?c=47DEQpj8HBSaTImW5:1
render @ bundle.js?c=47DEQpj8HBSaTImW5:1
rt @ bundle.js?c=47DEQpj8HBSaTImW5:1
c @ bundle.js?c=47DEQpj8HBSaTImW5:1
o @ bundle.js?c=47DEQpj8HBSaTImW5:1
Ce.default @ bundle.js?c=47DEQpj8HBSaTImW5:1
_onHistoryChange @ bundle.js?c=47DEQpj8HBSaTImW5:1
replace @ bundle.js?c=47DEQpj8HBSaTImW5:1
replace @ bundle.js?c=47DEQpj8HBSaTImW5:1
o @ bundle.js?c=47DEQpj8HBSaTImW5:1
o @ bundle.js?c=47DEQpj8HBSaTImW5:1
dispatch @ bundle.js?c=47DEQpj8HBSaTImW5:1
onInput.e @ bundle.js?c=47DEQpj8HBSaTImW5:1
c @ bundle.js?c=47DEQpj8HBSaTImW5:1

Thanks! You're definitely a bit early to this repo! I'm still hooking things up to work right!

I have a very similar, also totally unfinished, site up where the search input works correctly: https://nodefoo.com/ if you want to check it out.

Thanks for taking a look at my little project! โค๏ธ