Upvote 1

Sub-Elements are blocking my tap

Answered Roger Vidal Lloveras 5 years ago

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.

Replies (1)
photo
1

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

Leave a Comment
 
Attach a file