mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 03:29:37 +02: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);
|
setLocalSearch(encodedURL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.code === 'Enter' || e.code === 'NumpadEnter') {
|
if (e.code === 'Enter' || e.code === 'NumpadEnter' || e.keyCode === 13) {
|
||||||
if (!primarySearch.prefix) {
|
if (!primarySearch.prefix) {
|
||||||
// Prefix not found -> emit notification
|
// Prefix not found -> emit notification
|
||||||
createNotification({
|
createNotification({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue