Most performative way to keep element fixed in one viewport place while paper is scrolled #2653
Unanswered
ZalgirisKaunas
asked this question in
Q&A
Replies: 1 comment
-
What is the purpose of these elements? The most efficient way would be to render them above the paper scroller. For example, using HTML and set absolute position and a higher z-index. That way you don't need to update them at all. |
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
-
Introduction
i can get the difference of y value and translate the difference but I'm not sure if this is the best way as it's quite slow.
Steps to reproduce
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS+
Beta Was this translation helpful? Give feedback.
All reactions