Loading ...
Sorry, an error occurred while loading the content.

scrollbars on left unit of nested layout

Expand Messages
  • yuiscooter
    When adding scroll: true to a left positioned layout unit of a nested layout, the scrollbars are always showing (not just when content overflows) and the
    Message 1 of 2 , May 1, 2008
    • 0 Attachment
      When adding "scroll: true" to a 'left' positioned layout unit of a
      nested layout, the scrollbars are always showing (not just when
      content overflows) and the vertical scrollbar is rendered outside of
      the resize handle. This can be seen by changing the Nested Layout
      Example
      (http://developer.yahoo.com/yui/examples/layout/nested_layout_source.html)
      to have "scroll : true" for the inner-most left unit.

      I was sort of able to work around this by nesting a third layout in
      the left unit that only has a center scrolling unit. That works with
      two caveats: 1) there's a lot of extra markup and overhead involved in
      the extra layout just as a workaround 2) There is an odd behavior in
      Firefox when right-clicking in the nested-nested unit, that two sets
      of scrollbars show up. I can provide an example of this if anyone is
      interested...but would prefer to fix the original problem.

      Any ideas/suggestions would be appreciated...thanks!
    • Dav Glass
      yuiscooter -- Add this to your CSS below the link to the skin file: .yui-layout .yui-layout-unit .yui-layout-scroll { overflow: visible; } Please file a bug
      Message 2 of 2 , May 1, 2008
      • 0 Attachment
        yuiscooter --

        Add this to your CSS below the link to the skin file:

        .yui-layout .yui-layout-unit .yui-layout-scroll {
        overflow: visible;
        }

        Please file a bug for this here:
        http://developer.yahoo.com/yui/layout/#filingbugs

        Thanks
        Dav


        Dav Glass
        dav.glass@...
        blog.davglass.com




        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +


        ----- Original Message ----
        From: yuiscooter <yuiscooter@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Thursday, May 1, 2008 6:10:28 PM
        Subject: [ydn-javascript] scrollbars on left unit of nested layout

        When adding "scroll: true" to a 'left' positioned layout unit of a
        nested layout, the scrollbars are always showing (not just when
        content overflows) and the vertical scrollbar is rendered outside of
        the resize handle. This can be seen by changing the Nested Layout
        Example
        (http://developer.yahoo.com/yui/examples/layout/nested_layout_source.html)
        to have "scroll : true" for the inner-most left unit.

        I was sort of able to work around this by nesting a third layout in
        the left unit that only has a center scrolling unit. That works with
        two caveats: 1) there's a lot of extra markup and overhead involved in
        the extra layout just as a workaround 2) There is an odd behavior in
        Firefox when right-clicking in the nested-nested unit, that two sets
        of scrollbars show up. I can provide an example of this if anyone is
        interested...but would prefer to fix the original problem.

        Any ideas/suggestions would be appreciated...thanks!


        ------------------------------------

        Yahoo! Groups Links
      Your message has been successfully submitted and would be delivered to recipients shortly.