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

Layout not working while set touch enable=false inside Listview

    Details

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

      Titanium SDK : 3.4.0
      OS : IOS and Android

      Description

      When I set touchEnabled="false" for a view which was inside my List view template all my list view layout was broken. when i remove the touch enabled property it working fine
      Here is sample code

      index.xml

      <Alloy>
      	<Window backgroundColor="#fff">
      		<ListView id="LstView" top="50" defaultItemTemplate="template1">
      			<Templates >
      				<ItemTemplate id="mytemplate" name="template1">
      					<View layout="horizontal" width="Ti.UI.FILL" touchEnabled="false">
      						<View width="Ti.UI.SIZE" height="Ti.UI.SIZE" left="5">
      							<Label bindId="Lbl1" Id="Lbl1" color="black"></Label>
      						</View>
      						<View width="Ti.UI.SIZE" height="Ti.UI.SIZE" left="10" >
      							<Label bindId="Lbl2" Id="Lbl2" color="black"></Label>
      						</View>
      						<View width="Ti.UI.SIZE" height="Ti.UI.SIZE" left="10">
      							<Label bindId="Lbl3" Id="Lbl3" color="black" ></Label>
      						</View>
      					</View>
      				</ItemTemplate>
      			</Templates>
      			<ListSection>
      				<ListItem Lbl1:text="hello" Lbl2:text="how are you?" Lbl3:text="I am fine" height='70'/>
      			</ListSection>
      		</ListView>
      	</Window>
      </Alloy>
      

      index.js

      $.index.open();
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daskrishnadas Krishnadas
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration