[Glitch] Change behavior of privacy dropdown to only change value on validation

Port 90573c3abb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire
2024-02-27 12:41:19 +01:00
parent 1b219e709b
commit 916d78373d
3 changed files with 131 additions and 122 deletions

View File

@@ -141,6 +141,7 @@ class LanguageDropdownMenu extends PureComponent {
case 'Escape':
onClose();
break;
case ' ':
case 'Enter':
this.handleClick(e);
break;