I want to have a notification showing the number of items in a cart.
I used a containing group with a button and a notification badge (using align parent). The button is part of a row so without z-index it throws it out of whack as seen below:
I found another issue when trying to remedy the above issue.
Seems like even when my badge is ABOVE the button in the element tree, it’s still hidden behind the button! It only shows on top when i select it in the editor.
I even tested this in preview and the badge is still under the button.
I assume buttons might take higher precedence in a group then?
yup, I was a bit too use to photoshop there, and I placed it lower on the tree to actually be on top!
Wish there was a z-index though cause I’m still messing with margins and other weird tricks to get the button row aligned but luckily this site does not need to have a mobile version.