Controls and MiniMap not rendering #1953
-
I have integrated Vueflow into an application by bundling via webpack and included the bundle and css in a webpage. It works for the most part except for some reason the controls and minimap components are not rendered. I have observed the DOM and can see that those component are not instantiated, there are no errors. Expected BehaviorHere's my basic html to paste in codepen, also attached is the css.
Steps To ReproduceYou can include the attached bundle and css to codepen and see the same issue. If you use codepen, just include the attached bundle in
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Please provide a proper reproduction of this issue and not just some js file that I will surely not download. |
Beta Was this translation helpful? Give feedback.
-
hi @bcakmakoglu here's a link showing the issue: The JS editor includes the bundle at the top and the app code at the bottom. Also on a related note, is there a simple option to allow scrollbars beyond dragging the view pane? There is the prevent-scrolling flag, but turning it off doesn't display scrollbars (either vertical or horizontal). We want users to be able to use scrollbars to navigate a process flow and use the controls to zoom. |
Beta Was this translation helpful? Give feedback.
-
This isn't a proper and clean repro tbh, it's just some bundle code you generated from each VueFlow package and then pushed into a fiddle from what I can tell. It's basically impossible for me to debug and know how you even structured the bundle you generated like idk how you generate
If I understand you correctly, assuming you mean using a scrollbar for the viewport -> No. |
Beta Was this translation helpful? Give feedback.
-
Also transferring this to discussions since I am fairly certain this is not a bug but just an issue with how you use VueFlow in this context. |
Beta Was this translation helpful? Give feedback.
I guess sth like this should work: https://jsfiddle.net/6dakb09z/27/