Skip to content

Commit

Permalink
[Page][ActionMenu] Prefer tooltip position below secondary action
Browse files Browse the repository at this point in the history
  • Loading branch information
chloerice committed Aug 5, 2023
1 parent b4927a0 commit db57f3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/five-toes-hammer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@shopify/polaris': patch
---

Set the preferred position of `Pagination` button tooltips to `below`
Set the preferred position of `Pagination` and `Page` `secondaryActions` button tooltips to `below`
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export function SecondaryAction({
);

const actionMarkup = helpText ? (
<Tooltip content={helpText}>{buttonMarkup}</Tooltip>
<Tooltip preferredPosition="below" content={helpText}>
{buttonMarkup}
</Tooltip>
) : (
buttonMarkup
);
Expand Down

0 comments on commit db57f3f

Please sign in to comment.