Hide emoji selection until there are some results

This commit is contained in:
Bojan Mojsilovic 2023-08-25 12:28:17 +02:00
parent fc48f2f23b
commit 9908caaead
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "primal-web-app",
"version": "0.76.1",
"version": "0.76.2",
"description": "",
"scripts": {
"start": "vite",

View File

@ -1158,7 +1158,7 @@ const EditBox: Component<{
</div>
</Show>
<Show when={isEmojiInput() && emojiQuery().length > emojiSearchLimit}>
<Show when={isEmojiInput() && emojiQuery().length > emojiSearchLimit && emojiResults.length > 0}>
<div
class={styles.emojiSuggestions}
ref={emojiOptions}