-
19 Feb 2013 12:31 PM #1
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
-
19 Feb 2013 12:41 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Thanks for the report! I have opened a bug in our bug tracker.
-
21 Feb 2013 1:25 AM #3
Same is when you set value to height to 100%..
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-4026
in
Sprint 31.


Reply With Quote