Search event listener not responding to enter keypress on Firefox

Search event listener not responding to enter keypress on Firefox
0.0 0

#1

I am working on the Build a Wikipedia Viewer project, and have been able to get my project working on Chrome and Safari, but whenever I test it on Firefox it does not work. The .addEventListener for the search does not seem to respond when I type in the search field and press enter.

Link to my current codepen:


#2

It appears the type=“search” is not supported in Firefox or IE. Look at using thekeyup event which is supported by all browsers.