christian-fei / Simple-Jekyll-Search

A JavaScript library to add search functionality to any Jekyll blog.
https://christian-fei.github.io/Simple-Jekyll-Search/
MIT License
1.34k stars 203 forks source link

HTML5 Input Type=Search clear event not clearing results #149

Closed nikduvall closed 4 years ago

nikduvall commented 4 years ago

When using an HTML5 Input type="search" element, when the 'X' icon is cleared, this is not automatically clearing the results.

You can detect this with a Search event:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/search_event

christian-fei commented 4 years ago

Please make a PR @nikduvall

nikduvall commented 4 years ago

PR #150 created.