fix(date-picker): pressing "Enter" in date picker should update the value (#1280)

This commit is contained in:
István Pató 2022-05-14 19:00:33 +02:00 committed by GitHub
commit 20a8a647f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,14 +253,6 @@
e.stopPropagation();
calendar.close();
}
if (
$hasCalendar &&
/INPUT/.test(document.activeElement?.tagName) &&
e.key === 'Enter'
) {
e.stopPropagation();
}
}}"
>
<slot />