[Glitch] Improve dropdown menu keyboard navigation

Port a12f1a0baf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
ThibG
2019-08-06 11:59:46 +02:00
committed by Thibaut Girka
parent 6afdb6c2b6
commit fe1de4e49b
4 changed files with 30 additions and 21 deletions

View File

@ -9,8 +9,9 @@ export function openModal(type, props) {
};
};
export function closeModal() {
export function closeModal(type) {
return {
type: MODAL_CLOSE,
modalType: type,
};
};