Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-204] iPhone setToolbar refresh problem

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:25:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsproblem, refresh, settoolbar
ReporterDaniele Maiorana
AssigneeReggie Seagraves
Created2011-04-15T02:25:23.000+0000
Updated2017-03-09T21:10:19.000+0000

Description

Hi all,

I'm using TM on iPhone.

I can successfully create a toolbar with:
Titanium.UI.currentWindow.setToolbar

The problem is: I need to update it on the fly while the program is running (adding/removing some buttons) and the only way I found to do this, is to re-update the toolbar calling "setToolbar" again.

This works fine if my main view is at 0,0. If I have a view larger than screen height, and I scroll it with my finger at Y > 0, when I call setToolbar I can see a very bad "refresh" problem (like toolbar is resized or it falls quickly from top).

I hope I explained it well, btw it's very easy to reproduce :)

There's a way to avoid that or something we could fix in the source code??

Thanks again.

Comments

  1. Daniele Maiorana 2011-04-15

    I hope this could help: I have same behaviour on iPhone simulator and on real device

  2. Blain Hamon 2011-04-15

    Changes in codebase have mooted this since then.

  3. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source