Replies: 2 comments 1 reply
-
@arzatskis did you get any solutions? I am looking to implement something similar. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Im looking for the answer to the same, i only want to scroll it vertically and the panning is infinite is there a way to limit the viewport height |
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
-
Hi, I'm new to ReactFlow, checked issues / discussions and was unable to find answers.
Is there to control how much you can pan? What I'm trying to achieve is limit panning so nodes always stay visible and can't be dragged outside the view.
Maybe I've missed some setting, or I should dynamically set
translateExtent
prop etc.? But then not sure how to get bounds or currently drawn shapes.Any pointers where to look / how to achieve that would be great
Beta Was this translation helpful? Give feedback.
All reactions