Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25381] ListView with Ti.UI.SIZE rows don't maintain size after scrolling

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-10-10T23:11:56.000+0000
Affected Version/sRelease 6.3.0
Fix Version/sRelease 6.3.0
ComponentsAndroid
Labelsandroid
ReporterCaio Iglesias
AssigneeGary Mathews
Created2017-10-10T08:52:51.000+0000
Updated2017-10-11T00:31:45.000+0000

Description

On creation everything works as intended. Start scrolling the ListView and it breaks. All rows get resized to the size of the screen as if they were set to TI.UI.FILL. Sample code is attached. Tested this on SDK version 6.3.0.v20171006185117

Attachments

FileDateSize
TableView Android.zip2017-10-10T08:45:52.000+00007832135

Comments

  1. Andrew Rumbley 2017-10-10

    I am having this issue as well. It only seems to happen when the view with a height of Ti.UI.SIZE has a top and bottom value. Possibly just a bottom value, but definitely the two together. I have worked around this by removing the bottom value, wrapping the element in a container view with a vertical layout, and adding an additional view with a height equal to my desired bottom value.
  2. Joshua Quick 2017-10-11

    I've confirmed that this is the same issue as [TIMOB-25376]. Its fix will resolve this issue as well.

JSON Source