-
I'm trying to integrate library in the big project and found some problems with click event coordinates using What is the motivation of using translateY in official docs? browser rendering performance? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, performance reasons. I think you can use getBoundingClientRect to calculate correct position, or use |
Beta Was this translation helpful? Give feedback.
-
Okay also for anyone curios. FYI @piecyk . 365205035-9f735f13-4f25-46ad-9e61-707db1e817da.mp4 |
Beta Was this translation helpful? Give feedback.
Yes, performance reasons. I think you can use getBoundingClientRect to calculate correct position, or use
top
as you mentioned.