Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: arrow rotation based on placement #88

Merged
merged 2 commits into from
May 14, 2022

Conversation

xylophonehero
Copy link
Contributor

Closes #87

馃摑 Description

Makes the arrow rotation dependent on the placement. This makes it easier to style the borders facing the trigger.

鉀筹笍 Current behavior (updates)

Rotation of arrow is no longer just 45deg but now also 135, 225, 315 if the position is bottom, left, top or right resp.

馃挘 Is this a breaking change (Yes/No):

Shouldn't affect anyone as 45deg is the same as the other values. Only if users were styling their arrow dependent on placement already

馃摑 Additional Information

@changeset-bot
Copy link

changeset-bot bot commented May 13, 2022

馃 Changeset detected

Latest commit: f19a0f0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@zag-js/combobox Patch
@zag-js/menu Patch
@zag-js/popover Patch
@zag-js/tooltip Patch
@zag-js/popper Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@segunadebayo segunadebayo merged commit 4a80e99 into chakra-ui:main May 14, 2022
@github-actions github-actions bot mentioned this pull request May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Popper arrow rotation
2 participants