Skip to content

Commit

Permalink
Fix Enter not working in <DateInput>
Browse files Browse the repository at this point in the history
  • Loading branch information
probablykasper committed Jan 10, 2024
1 parent 31f8a0c commit 503c160
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/modals/Channel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@
<input type="number" bind:value={refreshRateMinutes} />

<p>Check for videos after</p>
<div class="date-picker">
<div
role="none"
class="date-picker"
on:keydown|capture={(e) => {
if (e.key === 'Enter') e.stopPropagation()
}}
>
<DateInput bind:value={fromTime} bind:visible={datePopupVisible} />
</div>

Expand Down

0 comments on commit 503c160

Please sign in to comment.