fix(DatePicker): fixing typed value handling when Enter has pressed

This commit is contained in:
István Pató 2022-05-03 14:05:55 +02:00
commit fbf38c4d80
No known key found for this signature in database
GPG key ID: 3A842123BFF8E969

View file

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