GithubHelp home page GithubHelp logo

wkeese / delite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm-js/delite

0.0 0.0 0.0 51.84 MB

Bill's in-progress work on delite

License: Other

JavaScript 78.32% CSS 5.13% HTML 16.55%

delite's People

Contributors

asudoh avatar bryanforbes avatar cjolif avatar clmath avatar csnover avatar dbolter avatar dmandrioli avatar dylans avatar harbalk avatar jrburke avatar kfranqueiro avatar kitsonk avatar kriszyp avatar lbod avatar liucougar avatar neonstalwart avatar peller avatar phiggins42 avatar pruzand avatar rcgill avatar sbrunot avatar semion1956 avatar sfoster avatar shaneosullivan avatar sitepentorreyrice avatar slightlyoff avatar toonetown avatar uhop avatar wkeese avatar wlepinski avatar

Watchers

 avatar  avatar

delite's Issues

delite/popup: allow opting out from the addition of scrolling capabilities to the popup wrapper (avoid double scrolling when using a popup with scrolling capabilities)

Because delite/popup sets "native" scroll on the popup wrapper, it doesn't seem that delite/popup supports the use-case of a popup which has scrolling capabilities by itself. In the current delite/deliteful context, this means in particular that if you use a widget implementing delite/Scrollable (such as deliteful/ScrollableContainer or deliteful/list/List), you may get two scrollable elements embedded one in the other. Also, this makes it difficult to rely on more advanced scrolling capabilities provided by the popup widget, such as the paging capabilities of deliteful/list/PageableList.

Solving this issue might be as simple as making it it optional via a flag (public or protected). Detail: at least for a scrolling popup based on delite/Scrollable, there is no need that delite/popup sets the size of the popup widget. Setting for instance "height: inherit" on the scrollable container allows an automatic size adjustment to the actual size of the popup wrapper.

Finally, secondary remarks:

  • As long as it keeps (optionally) setting the overflowY, I think it would better set it to "auto" than "scroll", in order to avoid unnecessary scrollbars when the content is smaller than the popup.
  • If I'm not mistaken, nowadays the preferred way to set style is to add CSS classes by code rather than setting directly style properties by code.

(Initially noted in ibm-js@4d1ddb9#commitcomment-7609753.)

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.