Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24431] Windows Phone: Views zIndex not applied

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2019-01-02T23:36:00.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsorder, windows, zindex
ReporterSandro Lain
AssigneeKota Iguchi
Created2017-02-24T12:45:58.000+0000
Updated2019-01-02T23:36:00.000+0000

Description

The views do not respect the zIndex imparted but you have depending on the order of creation. Carry the sample code where the views are ordered with zIndex in the reverse order of creation, and attach the screen as they appear. {noformat} var win = Ti.UI.createWindow(); var view1 = Ti.UI.createView({ zIndex: 10, width: 100, height: 100, backgroundColor: '#FF0000', zIndex: 20, left: 10, top: 10 }); win.add(view1); var view2 = Ti.UI.createView({ zIndex: 10, width: 100, height: 100, backgroundColor: '#00FF00', zIndex: 10, left: 20, top: 20 }); win.add(view2); var view3 = Ti.UI.createView({ zIndex: 10, width: 100, height: 100, backgroundColor: '#0000FF', zIndex: 1, left: 30, top: 30 }); win.add(view3); win.open(); {noformat}

Attachments

FileDateSize
Schermata 2017-02-24 alle 13.44.03.png2017-02-24T12:44:19.000+000028887

Comments

  1. Kota Iguchi 2019-01-02

    Duplicate of TIMOB-24239, which is fixed in 6.1.0.

JSON Source