I have container that houses a few composable butt...
# compose
a
I have container that houses a few composable buttons in it. Is there a way to make the contents of the container visible, without making them clickable? I know I can individually add logic to the buttons and make them un-clickable, but I wanted to check if I can control this at a higher level (Similar to a glass panel - you can still see everything behind the panel, but can't interact with it)
c
I think you can use the
drawWithContent
modifier to draw a transparent rectangle in front of the content (buttons) to block them
a
thanks! this allowed me to draw the rectangle on top of my container, but doesn't prevent me from clicking through to the contents of the container
c
Have you already tried using Box and putting a transparent layer on top of the container?
a
You can’t now. There’s an issue for this.
👍 2
👀 1
a
thanks for your input guys!