[SOLVED] Hi. How can I achieve that the context me...
# compose
r
[SOLVED] Hi. How can I achieve that the context menu items draw over the column rows?
I want to draw menu items over column rows
I solved it
f
Use
Box
, which is the non-hacky way of displaying items on top of each other.
Box { A() B() // will be displayed on top of B }
r
In my case it is a list
f
You can put a list inside a box
r
Can you give an example where extra content of n'th item drawn over next items?
f
I see what you mean. It would be difficult to position the context menu below 'text 2' if you use box
Maybe ConstraintLayout. It allows you to do more exotic layouts
r
I’ve achieved it without any box or constraintlayout
f
Yes you've created some sort of 'position:absolute' in Compose
m
You might want to check out dropdown, if you haven't already
r
@Mini It looses textfield focus