ghostHunter refreshes page

When I use the search bar after I scroll down on the index page, pressing enter or clicking submit will trigger a refresh load of the page instead of searching.

Site: https://docs.kenjibailly.xyz/

It works fine before the nav bar has been popped back to the top when scrolling on the index page.
It also works fine on any other page.

How can I fix this?