Fixed issue with hover tooltips.
This commit is contained in:
1 parent
2b13002f1b
commit
ab0838e272
20 files changed
+50
-91
No files matched your search
@@ -9,7 +9,8 @@ export function LanguageButton() {
|
||||
const { locale, saveLocale, dir } = useLocale();
|
||||
const items = Object.keys(languages).map(key => ({ ...languages[key], value: key }));
|
||||
|
||||
function handleSelect(value, close) {
|
||||
function handleSelect(value, close, e) {
|
||||
e.stopPropagation();
|
||||
saveLocale(value);
|
||||
close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user