Giter Site home page Giter Site logo

Comments (4)

nikolas avatar nikolas commented on August 13, 2024

I did some experimentation to resolve this, but the solution is still in progress.

We can easily set height: fit-content on the .demos-panel, which almost does what we want. But there's an issue with the objects dropdown extending past the content:
Screenshot_2023-04-06_16-19-10

from 3demos.

Evan-CTL avatar Evan-CTL commented on August 13, 2024

Didn't mean to close the issue, sorry about that. I found a lead on a possible solution.
.demos-mainview { overflow: auto; } .demos-panel { height:fit-content; overflow: visible; }
This allows scrolling --though the scroll bar isn't visible-- and it does scroll with tabbing. The one drawback is that it breaks the little widget that allows horizontal panel resize. I propose that we switch the upper right panel button that hides the panel to double as a drag tab for resizing. Something like:

  • Click and drag: resizes the panel
  • Double-click: Hides/Shows the panel

from 3demos.

nikolas avatar nikolas commented on August 13, 2024

After all my panel changes from yesterday, this bug is in fact still around. I'll have to take another look.

from 3demos.

drewyoungren avatar drewyoungren commented on August 13, 2024

I appreciate what a pesky little thing this can be. It seems there was a solution in bootstrap 4 that did not make it to 5.

https://stackoverflow.com/questions/70098157/bootstrap-5-1-3-dropdown-data-bs-boundary-no-longer-works

I just know so little about styling in general. How is it that the overflow-y seems to "know" about the absolutely-positioned dropdown-menu, but the height: fit-content doesn't?

from 3demos.

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.