[TIMOB-27462] iOS - NavBar properties not working anymore after 8.2.0.GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-12-12T15:10:25.000+0000 |
Affected Version/s | Release 8.2.1, Release 8.2.0 |
Fix Version/s | Release 9.0.0 |
Components | iOS |
Labels | engSchedule, ios-13, navbar, regression |
Reporter | Rodolfo Perottoni |
Assignee | Vijay Singh |
Created | 2019-10-09T23:15:00.000+0000 |
Updated | 2020-05-08T20:45:34.000+0000 |
Description
After updating Titanium to 8.2.0.GA from 8.0.0.GA all navbar customisations stopped working.
The project attached to this issue has all the necessary code to reproduce this error. Changing the *barColor*, *hideNavBar*, *barImage*, *hideShadow* all seem to have no effect whatsoever.
See images attached for a comparison between 8.0.0.GA and 8.2.0.GA
"#navwindow": {
barColor: '#182426'
}
"#window": {
backgroundColor: 'green',
translucent: true,
barColor: 'transparent',
extendEdges: [
Ti.UI.EXTEND_EDGE_TOP
],
barImage:'transparent.png',
hideShadow:true,
}
<Alloy>
<NavigationWindow id="navwindow">
<Window id="window" title="test" class="container">
<Label id="label" onClick="doClick">Hello, World</Label>
</Window>
</NavigationWindow>
</Alloy>
Attachments
File | Date | Size |
---|---|---|
800GA.png | 2019-10-10T01:15:47.000+0000 | 66486 |
820GA.png | 2019-10-10T01:15:47.000+0000 | 79973 |
navbarissue.zip | 2019-10-09T23:14:34.000+0000 | 8658826 |
if you move
extendEdges
to the navigationWindow and havebarColor
only on the window it should work much better. Of course there is TIMOB-27413 to take into consideration as well. Can you test with that recommendation on 8.2.1 and see what according to you still doesn't work properly? Though something seems up ifextendEdges
is on the window, some other properties are indeed ignored. hideShadow still works for me regardlessSame issue here.
Rene, I think this is not a matter of changing properties and re-engineering all of my app's navigation. You can see from the attached pictures that this is indeed a bug. Also, I still want to control extendedEdges on a window level instead of applying it to all of my navigation stacks.
Still happens on 8.3.X.
PR - https://github.com/appcelerator/titanium_mobile/pull/11377 Note - @QE please verify test cases from TIMOB-27413 and TIMOB-27263 as well.
FR Passed.
Fixes verified in build: 9.0.0.v20191211162818. Navgiation Bar properties are working as expected. Ticket closed.
Sorry, the regression was not caused by this one but TIMOB-27868.