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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popper arrow rotation #87

Closed
xylophonehero opened this issue May 13, 2022 · 0 comments · Fixed by #88
Closed

Popper arrow rotation #87

xylophonehero opened this issue May 13, 2022 · 0 comments · Fixed by #88
Labels
enhancement New feature or request

Comments

@xylophonehero
Copy link
Contributor

🚀 Feature request

Rotation of the arrow based on placement options

🧱 Problem Statement / Justification

When using the popper with the arrow, I often want borders on the the sides of the arrow which face the trigger. But then I have to set up data-attributes that take in the placement and add the borders appropriately (top and left borders when bottom positioned, bottom and right borders when top positioned).

✅ Proposed solution or API

It would be much easier to change the rotation of the arrow to 45, 135, 225, 315 if when the arrow is positioned bottom, left, top and right positioned resp. Then I can just add borders to the top and left of my arrow and not need to worry about the placement in my code.

↩️ Alternatives

Adding my own data attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants