Skip to content

Stopping events propagating into parent #1341

Answered by bcakmakoglu
moyalmic asked this question in Q&A
Discussion options

You must be logged in to vote

You can add the nopan class name to the sidebar.
Though I am wondering why you would want to add a sidebar into the zoom+pan area?
Instead you could use the <Panel> component to add something like the controls in the bottom right of your screenshot.
Or you could use a sidebar that's outside of VueFlow altogether.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@moyalmic
Comment options

@bcakmakoglu
Comment options

Answer selected by moyalmic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants