Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2504] Scrollview: problem with views larger than window width

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-26T23:44:33.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
Reportertrident
AssigneeIngo Muschenetz
Created2011-04-15T03:21:27.000+0000
Updated2017-07-26T23:44:33.000+0000

Description

I submit a simple example of a scrollableview with 3 imageviews which are wider than the window's width.

The imageviews of three images 1024x1440 pixels (placed as backgrounds to allow zooming) are sized to the maximum height of the window, and therefore with a wider width; then added to a scrollableview.
The images are double pages of a catalog.

Scrollableview initially correctly shows just the visible part of the image, but trying to move right showing the other part of the image, it scrolls to the following view instead of showing the rightmost part of the imageview.
If you try to first pinch in or out the image (zooming), then scrollableview acts correctly first panning and then scrolling.

The attachments contains app.js, scrollview_problem.js and the three images.
Put them in the resource folder of a new project.
I have Titanium developer 1.2.1, iphone SDK 4.2 and mobile titanium sdk 1.4.2.

Attachments

FileDateSize
scrollview_problem_prj_resources.zip2011-04-15T03:21:27.000+0000672940

Comments

  1. Stephen Tramer 2012-07-26

    Confirmed SDK 2.2.0.014b86f. Note that the images are not provided. You can use http://placekitten.com/1024/1440 for all background images to duplicate the described problem.
  2. Lee Morris 2017-07-26

    Closing due to inactivity. If this issue still exists, please raise a new ticket.

JSON Source