mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(date-picker): pressing "Enter" in date picker should update the value (#1280)
This commit is contained in:
parent
c6f210899b
commit
20a8a647f1
1 changed files with 0 additions and 8 deletions
|
@ -253,14 +253,6 @@
|
|||
e.stopPropagation();
|
||||
calendar.close();
|
||||
}
|
||||
|
||||
if (
|
||||
$hasCalendar &&
|
||||
/INPUT/.test(document.activeElement?.tagName) &&
|
||||
e.key === 'Enter'
|
||||
) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
}}"
|
||||
>
|
||||
<slot />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue