[TIMOB-204] iPhone setToolbar refresh problem
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:25:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | problem, refresh, settoolbar |
Reporter | Daniele Maiorana |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:25:23.000+0000 |
Updated | 2017-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.
I hope this could help: I have same behaviour on iPhone simulator and on real device
Changes in codebase have mooted this since then.
Closing ticket as invalid.