mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(DatePicker): fixing typed value handling when Enter has pressed
This commit is contained in:
parent
39e3424b6f
commit
fbf38c4d80
1 changed files with 0 additions and 8 deletions
|
@ -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 />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue