Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4026 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    411
    Vote Rating
    17
    jweber will become famous soon enough

      0  

    Default Warning when scrollable is false but height is specified

    Warning when scrollable is false but height is specified


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.1.1

    Browser versions tested against:
    • Chrome for Mac 24.0.1312.57

    DOCTYPE tested against:
    • html

    Description:
    • If a container has scrollable: false and height: [number], I still get a warning that it has no specified height. I'm not sure if this is a bug, or if I'm misunderstanding the relationship between scrollable and height. I think you need some documentation on this point.

    Steps to reproduce the problem:
    • Load the code below

    The result that was expected:
    • No warning

    The result that occurs instead:
    • Warning "This container is set to scrollable: false but has no specified height. You may need to set the container to scrollable: null or provide a height."

    Test Case:

    Code:
    Ext.define('MyView', {
    	extend: 'Ext.Container',
    	config: {
    		fullscreen: true,
    		scrollable: false,
    		height: 100,
    		style: 'border: 1px solid black',
    		items: [{
    			id: 'main',
    			html: 'test<br />test<br />test<br />test<br />test<br />test<br />test<br />test<br />test<br />test<br />test<br />	'
    		}]
    	}
    });
    var view = Ext.create('MyView');


    HELPFUL INFORMATION


    Screenshot or Video:
    • N/A

    See this URL for live test case: N/A


    Debugging already done:
    • none

    Possible fix:
    • not provided

    Additional CSS used:
    • only default ext-all.css

    Operating System:
    • Mac OS 10.8.2

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,118
    Vote Rating
    855
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Posts
    44
    Vote Rating
    3
    Belkin is on a distinguished road

      0  

    Default


    Same is when you set value to height to 100%..

Thread Participants: 2

Tags for this Thread