positioning does not take negtive margin or translate into account #157
Unanswered
joernroeder
asked this question in
Q&A
Replies: 1 comment
-
Have you tried using offset option? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently building some map component where i have to center an element of flexible size around a given (absolute) position and therefore the target is a) translated via
transform: translate(-50%, -50%)
or it's old school friendmargin-left: -50%
. but both is not taken into account and tooltip positioning is shifted byelementWidth / 2
.Beta Was this translation helpful? Give feedback.
All reactions