Coder Social home page Coder Social logo

Comments (5)

bcakmakoglu avatar bcakmakoglu commented on May 25, 2024 1

I'mma be real with you, looking back at this I'm not even sure why I changed it in the first place.
This change will be reverted 🤷‍♂️

from vue-flow.

bcakmakoglu avatar bcakmakoglu commented on May 25, 2024

Mh... You could just do Controls position="bottom-right" to have them on the same position.
Is it a hard requirement to put these in the same Panel? 🤔

This change could be reverted though but if a different solution is possible, I'd prefer that 😅

from vue-flow.

snoozbuster avatar snoozbuster commented on May 25, 2024

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.

from vue-flow.

bcakmakoglu avatar bcakmakoglu commented on May 25, 2024

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?

from vue-flow.

bcakmakoglu avatar bcakmakoglu commented on May 25, 2024

Reverted in 1.29.0

from vue-flow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.