How to draw items in order #1367
-
|
Hi guys, i've got plenty of items to draw in one canvas. Is there any way to modify the order of drawing? By default one element is on top of another element and so on. What i need is to set some kind of 'zIndex' to specific element to show it on top. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Currently you can return the components as an array and sort them. This is what I use as a workaround for this. Things get tricky when you want to animate on the order, hopefully we will have a solution for this in the future. |
Beta Was this translation helpful? Give feedback.
-
|
we released zIndex support part of 2.4.0 |
Beta Was this translation helpful? Give feedback.
Currently you can return the components as an array and sort them. This is what I use as a workaround for this.
Things get tricky when you want to animate on the order, hopefully we will have a solution for this in the future.