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

    Default Warning when scrollable is false but height is specified


    Ext version tested:
    • Sencha Touch 2.1.1

    Browser versions tested against:
    • Chrome for Mac 24.0.1312.57

    DOCTYPE tested against:
    • html

    • 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:

    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');


    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 Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


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

  3. #3
    Sencha User
    Join Date
    Dec 2012


    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