Skip to content

Commit

Permalink
Fix time field not losing highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
probablykasper committed Feb 26, 2024
1 parent 175f967 commit 6590996
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fix time field sometimes showing a value outside `min`/`max`
- Fix time field losing highlight after pressing left/right arrow keys
- Use numeric keyboard in time field
- Fix time field not losing highlight

## 2.10.1 - 2023 Dec 6
- Fix view not updating when value changes externally with `browseWithoutSelecting`
Expand Down
2 changes: 2 additions & 0 deletions src/lib/TimePicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@
position: relative
z-index: 1
padding: 4px 0px
&:not(:focus)::selection
background-color: transparent
&:first-child
padding-left: 6px
&:last-child
Expand Down

0 comments on commit 6590996

Please sign in to comment.