Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17481

iOS: HeaderView of a ListView cannot be higher than screen size

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      SDK 3.3.0 G.A., Alloy 1.4.0, iOS 7.1.2, iPhone 5

      Description

      On iOS, the height of the HeaderView of a ListView cannot be higher than the screen size. As a result, long views cannot be displayed entirely.

      <Alloy>
      	<Window class="container">
      		<ListView>
      			<HeaderView>
      				<View height="800dp" width="Ti.UI.FILL" backgroundColor="blue">
      					<Label text="Hello world" backgroundColor="white"/>
      				</View>
      			</HeaderView>
      			<ListSection>
                      <ListItem title="Number 1"></ListItem>
                      <ListItem title="Number 2"></ListItem>
                  </ListSection>
      		</ListView>
      	</Window>
      </Alloy>
      

      The HeaderView is not entirely displayed. On Android, the entire HeaderView is displayed. See attached screenshots.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              FrancoisM François Mériaux
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19061
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration