-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🚀 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
The text was updated successfully, but these errors were encountered: