Skip to content

Commit

Permalink
fix(flatpickr): prevent inadvertent text selection in DatePicker (#…
Browse files Browse the repository at this point in the history
…10377)

* fix(flatpickr): prevent text selection when clicking flatpickr buttons

* chore: also apply fix to package `styles`

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <tw15egan@gmail.com>
  • Loading branch information
3 people committed Jan 25, 2022
1 parent 5b3b9a1 commit a7112be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
cursor: pointer;
transition: background-color $duration--fast-01 motion(standard, productive);
fill: $icon-01;
user-select: none;

&:hover {
background-color: $hover-ui;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
text-decoration: none;
transform: scale(1, 1) #{'/*rtl: scale(-1,1)*/'};
transition: background-color $duration-fast-01 motion(standard, productive);
user-select: none;
// Windows HCM fix
@include high-contrast-mode('icon-fill');

Expand Down

0 comments on commit a7112be

Please sign in to comment.