Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7955] iOS: Add scrollsToTop and disableBound to WebView and ScrollView

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-03-14T14:53:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsiOS
Labelsqe-port
ReporterDavid Aurelio
AssigneeNeeraj Gupta
Created2012-03-09T15:05:16.000+0000
Updated2012-08-16T14:36:51.000+0000

Description

[Pull Request #93](https://github.com/appcelerator/titanium_mobile/pull/93) adds the following iOS-specific features to Titanium Mobile: - Adds the disableBounce (known from ScrollViews) property to WebViews - Adds a scrollsToTop property to ScrollView and WebView, that allows to control which visible scrollable view scrolls to top when the status bar is tapped. Attached is a simple demo project that demonstrates the added feature. Compile with the patch applied.

Attachments

FileDateSize
Scroll Demo.zip2012-03-09T15:05:16.000+00002321684

Comments

  1. Neeraj Gupta 2012-03-10

    We should have a parity discussion about this feature.
  2. David Aurelio 2012-03-10

    FYI: these features have been used successfully in production in the initial version of http://itunes.apple.com/de/app/chip-app-guide/id396310427 (for a carousel with webviews). However, it seems that the application has been changed dramatically since then and the functionality has been removed.
  3. Blain Hamon 2012-03-14

    Community pull #93 merged. Credit to davidaurelio
  4. Olga Romero 2012-08-16

    Verified fix with: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.2.0.v20120816105712 Devices: iPhone 4.3.5 Simulator 5.1 Mac osx 10.8 Mountain Lion

JSON Source