## Description When using the enter key on the mobile keyboard, the modal closes instead of opening the search results page. ## Reproduction On **mobile**: https://cuelang.org/ **Steps** 1. Go to the hamburger menu, and open it 2. Click on the search bar, this pops up the detached mode 3. Enter some text in the search bar 4. Hit the enter button of your mobile keyboard Note that the detached mode closes, you are back in the hamburger menu in stead of the search results page. https://github.com/algolia/autocomplete/assets/122522301/398da7be-17ca-437b-bb89-cd9097d3f2db ## Expected behavior I expect to end up on the search results page, like when you do when you click one of the items from the autocomplete. ## Environment - OS: iOS 17.4.1 - Browser: Safari - Autocomplete version: 1.12.1