I’ve been making a tabbed interface with UITK, and I need the currently active tab to be sorted on top, without being the first or last element in the flex order.
As you can see, the last tab renders on top of the middle tab, but I’d like the middle/focused tab to be on top!
This could be resolved by
- putting the active tab last in the hierarchy (makes it render on top), and then
- setting the
orderCSS property on all the tabs, to manually specify the flex item order.
Are there any plans on adding this property?
(as a sidenote - I’ve seen people requesting the z-index CSS property which could also solve this particular situation, but as I’ve understood it, that one is significantly more complicated to add support for as it’s a more generalized thing that can break hierarchy optimizations)
