Skip to content

Commit

Permalink
[IndexFilters] Sort popover aligned to right side of button (#9749)
Browse files Browse the repository at this point in the history
### Before

<img width="298" alt="Screenshot 2023-07-19 at 4 28 29 pm"
src="https://github.com/Shopify/polaris/assets/612020/dd84d5d0-039c-489a-b7e9-5695f2ad65b0">

### After

<img width="198" alt="Screenshot 2023-07-19 at 4 28 29 pm"
src="https://github.com/Shopify/polaris/assets/612020/2eaa73cc-e16e-46e2-8dcd-8fe9b3d29168">

---------

Co-authored-by: Chloe Rice <[email protected]>
  • Loading branch information
jesstelford and chloerice authored Jul 20, 2023
1 parent 5b85401 commit 3b6d391
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chatty-brooms-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

[IndexFilters] Sort popover aligned to right side of button.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export function SortButton({
activator={sortButton}
autofocusTarget="first-node"
onClose={handleClose}
preferredAlignment="right"
fluidContent
>
<Box
Expand Down

0 comments on commit 3b6d391

Please sign in to comment.