mirror of
https://github.com/pawelmalak/flame.git
synced 2025-04-23 13:27:21 -04:00
Fix that the search box does not work to the Enter key on the soft keyboard of the mobile phone
This commit is contained in:
parent
3c347c854c
commit
e973da3f61
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export const SearchBar = (props: Props): JSX.Element => {
|
|||
setLocalSearch(encodedURL);
|
||||
}
|
||||
|
||||
if (e.code === 'Enter' || e.code === 'NumpadEnter') {
|
||||
if (e.code === 'Enter' || e.code === 'NumpadEnter' || e.keyCode === 13) {
|
||||
if (!primarySearch.prefix) {
|
||||
// Prefix not found -> emit notification
|
||||
createNotification({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue