Sub-Elements are blocking my tap

Roger Vidal Lloveras shared this question 4 months ago
Answered

If I add an Event for example into a "Grid Cell", if then I add some text inside the "Grid Cell", it blocks my tap interaction.

Desired functionality: I want to be able to tap anyway inside of the "Grid Cell" in order to call my Event.

Problem: Elements inside my "Grid Cell" are blocking my tap interaction.


PS: Probably, if I add a sub-element at top position (100% W and H), it will "fix" this problem. Also, if I add the event on all the sub-elements.


But.. I assume that there is a "better" solution for this case.

Comments (1)

photo
1

Actually the approaches you described would work best in this case - either one would work.