I don’t understand why this is happening. I know that if you layer components, say a label on top of a button, it affects their click event handling and prevents it from working. [Aside: I think that needs to be modified because a click event should occur no matter what the positioning and layering of components. You can always choose to ignore a stray click that you don’t want to handle but you can’t magically add in a click event where one doesn’t exist.]
But in this case, I don’t think there is anything on top of the button. Here’s the layout:
When I use this layout in a Data Viewer List (DVL), it only registers a click for the “When DVL Item Click” block if I tap on the very left or right edge of the button. You can see the faint boundary lines to the left and right of the button text “Item”. If I tap within the center 90% of the button, it doesn’t register the click.
That sounds promising but I’m not having much luck. I created a layout with a container that has a button inside. I gave the button a background color and text and saved the Layout component as a custom layout:
Alright, I figured out the cause of the blank entries in the DVL layout list. I needed to save the Container, not the Layout. Once I do that, it shows up correctly in the selection list. But… even after that, the button inside the container only registers taps on the very edges of the buttons.