GithubHelp home page GithubHelp logo

Comments (5)

cldougl avatar cldougl commented on May 9, 2024

potentially related to how we calculate top https://github.com/plotly/dash-table/blob/master/src/dash-table/components/Cell/index.tsx#L273

from dash-table.

cldougl avatar cldougl commented on May 9, 2024

additionally, this seems to specifically appear when setting n_fixed_columns

from dash-table.

wbrgss avatar wbrgss commented on May 9, 2024

I think it might be possible to avoid calculating top and left offsets with JS, and let the browser calculate positioning with CSS. This should make this behaviour more consistent.

@Marc-Andre-Rivet Would anything prevent something this from working?

.Select.is-clearable.is-focused.is-open.Select--single {
    position: relative;
    overflow: visible;
}

Then on the child .Select-menu-outer, we can remove the top and left properties. And keep position: absolute. This is just some quick testing with dev tools so there may be a good reason I don't know about for explicitly calculating the absolute positioning.

from dash-table.

wbrgss avatar wbrgss commented on May 9, 2024

IIRC we actually discussed this last month over a slack call. The problem with my solution above would be that dropdowns get cut off on lower rows unless the user scrolls down.

from dash-table.

Marc-Andre-Rivet avatar Marc-Andre-Rivet commented on May 9, 2024

@wbrgss @cldougl I think having a relative parent will bring back the clipping issue due to the spreadsheet div having overflow: hidden

from dash-table.

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.