function handleKeydown(e) {
		const code = e.key;
		if (code === "ArrowUp" || code === "ArrowDown") {
			e.preventDefault();
			e.stopPropagation();
		}
		updateHintFocus(code);
	}
Handle keydown event
@param {KeyboardEvent} e Event