[TIMOB-7203] iOS: UI.View - make size property read-only
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-01-17T08:38:36.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | parity |
Reporter | Paul Dowsett |
Assignee | Neeraj Gupta |
Created | 2012-01-16T09:39:38.000+0000 |
Updated | 2017-03-09T23:14:28.000+0000 |
The above test case proves that the size property is read-only. Closing as invalid.
Note that the behavior is the same for Android, although there are bugs presently that mean that size is not correct unless the window is heavyweight, view is already rendered, used within an window open event and the first open event is ignored, as per the following code:
In case a race condition is involved, I wrapped a setTimeout around the logging lines, and confirmed view.size.width value is read-only. Hence, closing.
Closing ticket as invalid.