Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6121] TableView with parameter "Ti.UI.SIZE" is rendered incorrectly

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2019-02-08T17:45:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsios
ReporterThomas Weber
AssigneeShak Hossain
Created2019-01-31T20:04:48.000+0000
Updated2019-02-08T17:54:41.000+0000

Description

<Alloy>
	<Window backgroundColor="#fff">
	<ScrollView layout="vertical" contentHeight="100%" contentWidth="100%" backgroundColor="green">
	<TableView style="Ti.UI.iOS.TableViewStyle.GROUPED" scrollable="false" height="Ti.UI.SIZE">
		<FooterView>
            <View height="44dp" layout="horizontal">
							<Button left="15">Button 1</Button>
							<Button left="25">Button 2</Button>
						</View>
        </FooterView>
				<TableViewSection headerTitle="test">
						<TableViewRow title="Row 1"></TableViewRow>
						<TableViewRow title="Row 2"></TableViewRow>
						<TableViewRow title="Row 3"></TableViewRow>
				</TableViewSection>
	</TableView>
	</ScrollView>
</Window>
</Alloy>
*Expected:* TableView with 3 rows and a footer containing 2 buttons *Actual:* TableView with 2 rows, footer not visible (see attached screenshot)

Attachments

FileDateSize
IMG_8DD6D96CBBF0-1.jpeg2019-02-08T14:28:17.000+0000123911
Simulator Screen Shot - iPhone X - 2019-02-08 at 15.22.14.png2019-02-08T14:25:56.000+000068323
Simulator-Screen-Shot---iPhone-XS-Max---2019-01-31-at-21.01.01.gif2019-01-31T20:01:54.000+000010515

Comments

  1. Rakhi Mitro 2019-02-03

    Hello, Thanks for reporting this. Would you mind providing more information for the issues you are experiencing? Are you experiencing this on device also?
  2. Rakhi Mitro 2019-02-07

    Hello, We have not heard back from you since our last update.I just wanted to follow up with you about this issue? Are you still experiencing this problem? Please let us know if you need more help with this issue.
  3. Thomas Weber 2019-02-08

    Same effect on device as on simulator. Also tried a new "classic" with that code:
       var window = Ti.UI.createWindow({
           backgroundColor : 'white',
           layout:'vertical'
       });
       
       var rows = [
       	{title:'row1'},
       	{title:'row2'},
       	{title:'row3'}
       ];
       
       var table = Ti.UI.createTableView({
       	height:Ti.UI.SIZE,
       	data:rows,
       	top:0
       });
       
       window.add(table);
       window.open();
       
    Only 2 rows !Simulator Screen Shot - iPhone X - 2019-02-08 at 15.22.14.png|thumbnail! !IMG_8DD6D96CBBF0-1.jpeg|thumbnail! Removing "layout:vertical" from parent container effects the tableview to be rendered correctly.
  4. Thomas Weber 2019-02-08

    Really? What more information do you need?

JSON Source