This commit is contained in:
Mateusz Gruszczyński
2026-09-20 13:56:53 +02:00
parent a6efa52f78
commit 0a269cf6fb
11 changed files with 437 additions and 22 deletions
+6 -1
View File
@@ -7,7 +7,7 @@
* See LICENSE file in repository root for details.
*/
import { EMOJI_GROUPS } from "@rustpad/emoji-data";
import { EMOJI_GROUPS } from "@rustpad/emoji-groups";
import { t } from "@rustpad/i18n";
const RECENTS_KEY = "rustpad:recent-emojis";
@@ -153,4 +153,9 @@ export function bindEmojiPicker({ editor, details, search, categories, grid, emp
document.addEventListener("rustpad:languagechange", () => {
if (details.open) render();
});
if (details.open) {
render();
requestAnimationFrame(() => search.focus());
}
}