Results 1 to 3 of 3

Thread: Warning when scrollable is false but height is specified

    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
    443
    Vote Rating
    18
      1  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      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
      0  

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •