Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #310 from Th1nkK1D/dropdown-chevron-transition
Browse files Browse the repository at this point in the history
Update dropdown chevron transition
  • Loading branch information
illright authored Oct 11, 2021
2 parents 273b369 + 846904c commit 61259cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this

- The [`Slider`](https://illright.github.io/attractions/docs/components/slider) component has been added, allowing you to create a slider similar to the one you would get with `<input type="range">`. It also support inputting a range by supplying a tuple for the `value` prop (Thanks to [@RikuVan](https://github.com/RikuVan) for the contribution - [#290](https://github.com/illright/attractions/pull/290)).

### Changed

- Change the [`Dropdown`](https://illright.github.io/attractions/docs/components/dropdown) chevron transition animation to a `scaleY(-1)` for `150ms` ([#310](https://github.com/illright/attractions/pull/310))

## [3.4.0] - 2021-09-12

### Added
Expand Down
4 changes: 2 additions & 2 deletions attractions/dropdown/dropdown-shell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

:global .dropdown-chevron {
margin-bottom: -0.125em;
transition: transform 100ms;
transition: transform 150ms;
}

&.open :global .dropdown-chevron {
transform: rotate(180deg);
transform: scaleY(-1);
}
}

0 comments on commit 61259cc

Please sign in to comment.