[TIMOB-68] Scroll view must update when DOM is updated
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:51:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.6.0 |
Components | iOS |
Labels | n/a |
Reporter | Kevin Whinnery |
Assignee | Blain Hamon |
Created | 2011-04-15T02:23:18.000+0000 |
Updated | 2011-04-17T01:51:52.000+0000 |
Description
Ran into an issue where if new elements are added to the DOM
that need to make the view scrollable (as in a number of results
retrieved from an Ajax call like in the Yelpr example app), the
scroll view containing the web view needs to be resized to
match.
Workaround is to pre-size the body
tag to
accommodate the results. Real fix is to have some kind of event
listener for when the DOM is modified so the scroll view can be
resized. Spoke to Blain about it over IRC, also reported in the
following support ticket:
http://support.appcelerator.net/discussions/titanium-mobile-discussion/111-page-locking-up-after-ajax-request"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
rollback wrong update