You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and this is a new bug.
Current Behavior
Prior to @vueflow/[email protected], I was able to write code similar to the following (using Bootstrap utilities to reset margin and position):
<Panel>
<MiniMap class="position-static m-0" />
<!-- other stuff -->
</Panel>
in order to put the minimap inside the same panel as other components. I used this for an effect like so:
In 1.3.0, classes are no longer applied to the Panel, but instead to the svg inside the Panel. Additionally, there is no way to add additional contents to the Panel such as via a slot or to use the MiniMap without a wrapping Panel.
Expected Behavior
I should be able to include a minimap alongside additional content in the same floating panel.
Steps To Reproduce
see code above
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
the two panels overlap if you put them both in the same position. Also, these controls are a custom set of buttons. Yes, this is a hard requirement for me.
There are a number of solutions which don't involve a revert - exposing the minimap component separate from the wrapping panel, adding a slot to the minimap, or adding a prop to the minimap which allows classes to be placed directly on the panel. Any of these would be sufficient for my usecase.
Well yeah, but wrapping it in a Panel isn't preventing Panels overlapping.
You put a third Panel around 2 components that already use a panel, so I'm not sure how "overlap" is the issue here?
Is there an existing issue for this?
Current Behavior
Prior to
@vueflow/[email protected]
, I was able to write code similar to the following (using Bootstrap utilities to reset margin and position):in order to put the minimap inside the same panel as other components. I used this for an effect like so:

In 1.3.0, classes are no longer applied to the
Panel
, but instead to thesvg
inside thePanel
. Additionally, there is no way to add additional contents to the Panel such as via a slot or to use the MiniMap without a wrappingPanel
.Expected Behavior
I should be able to include a minimap alongside additional content in the same floating panel.
Steps To Reproduce
see code above
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: