Required Information


Version(s) of Ext GWT
«Ext GWT 3.1.1»


Browser versions and OS
(and desktop environment, if applicable)
  • Firefox 25
  • Chrome 36
  • Window 8.1
Virtual Machine
No


Description
CssFloatLayoutContainer scroll support does not add scrollbars to the widget.


Run mode
Both


Steps to reproduce the problem
  1. Add a CssFloatLayoutContainer
  2. Call container.setScrollMode(ScrollMode.AUTOY);
  3. Run application
  4. Notice that no scrollbars are added
Expected result
The presence of scrollbars


Actual result
No scrollbars


Test case
Code:
CssFloatLayoutContainer container = new CssFloatLayoutContainer();
container.setAdjustForScroll(true);
container.setScrollMode(ScrollMode.AUTOY);

Helpful Information


Debugging already done
  • getScrollSupport() creates scroll support as
    • scrollSupport = new DefaultScrollSupport(getContainerTarget());
  • Should be
    • scrollSupport = new DefaultScrollSupport(getElement());
Possible fix
Code:
ScrollSupport scrollSupport = new DefaultScrollSupport(container.getElement());
scrollSupport.setScrollMode(ScrollMode.AUTOY);