-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Frame] Reduce motion on width changes (#11927)
### WHY are these changes introduced? Fixes https://github.com/Shopify/polaris-internal/issues/1600 ### WHAT is this pull request doing? turns off frame width transitions (when sidebar is opened/closed) ### How to 🎩 - turn on prefers reduced motion in mac os settings - turn on sidebar beta flag - open/close sidebar https://admin.web.web-81d9.sophie-schneider.us.spin.dev/store/shop1 ### 🎩 checklist - [x] Tested a [snapshot](https://github.com/Shopify/polaris/blob/main/documentation/Releasing.md#-snapshot-releases)
- Loading branch information
1 parent
364ada5
commit 5a32a3f
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': patch | ||
--- | ||
|
||
Added `prefers-reduced-motion` media queries to `Frame` width transitions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters