Giter VIP home page Giter VIP logo

Comments (7)

liquidvisual avatar liquidvisual commented on June 4, 2024

@jbonnett92 I've run into a similar issue where a pane will not respect overflow: auto - so instead of invoking scrollbars when the pane gets too small for the content, it just "snaps" back.

Did you manage to find a solution or an alternate library for your purpose?

from vue-multipane.

jbonnett92 avatar jbonnett92 commented on June 4, 2024

@liquidvisual Unfortunately I haven't.

from vue-multipane.

liquidvisual avatar liquidvisual commented on June 4, 2024

@jbonnett92 I just discovered a fix (for my situation) - I was able to invoke scrollbars by making the panel content wrapper absolute. Hope this can be of use to you somehow:

<!-- MULTIPANE -->
<multipane class="multipane w-100 h-100" layout="vertical">
    <div class="pane" :style="{ minWidth: '200px', width: '200px' }">
        ...
    </div>
    <multipane-resizer></multipane-resizer>
    <div class="pane" :style="{ flexGrow: 1 }">
        <div style="position: absolute;">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
            tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
            quis nostrud exercitation.</p>
        </div>
    </div>
</multipane>

from vue-multipane.

jbonnett92 avatar jbonnett92 commented on June 4, 2024

@liquidvisual Thank you I'll give it a try in a little bit :) I'll let you know if it works.

from vue-multipane.

jbonnett92 avatar jbonnett92 commented on June 4, 2024

@liquidvisual My panes just seem to overlap.

from vue-multipane.

liquidvisual avatar liquidvisual commented on June 4, 2024

Sorry to hear that. What happens if your panes have an overflow of auto?

Originally I was looking into this library since it was based on what looks to be the most popular JS one, "Split.js" - although I wasn't able to figure out how to implement it in Vue based on the examples :/

from vue-multipane.

jbonnett92 avatar jbonnett92 commented on June 4, 2024

I think it has to do with the rightmost pane being flexbox.

from vue-multipane.

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.