ProMotion icon indicating copy to clipboard operation
ProMotion copied to clipboard

TableScreen with custom TableViewCell doesn't respond to events on the subviews

Open FreeAgent opened this issue 9 years ago • 2 comments
trafficstars

Tap and long-press events on the table-rows are handled by ProMotion, but only in the whitespace on the fringes of the table-row.

Taps on the subviews of the custom TableViewCell aren't captured by Promotion's event-handling.

FreeAgent avatar May 28 '16 13:05 FreeAgent

@FreeAgent what is the expected behavior? It sounds like the custom cells need to implement some additional behavior, but I'm not sure what. Can you provide some sample code? I have not experienced this issue. It seems like the subviews are getting in the way or not bubbling the event.

andrewhavens avatar Jul 07 '16 03:07 andrewhavens

@andrewhavens The expected behaviour is that a tap on a subview of a custom TableViewCell would trigger an event on that table-row, which would be handled by Promotion's event-handling.

I'm sorry I don't have sample code to hand (as I'm not working currently on the project in which this issue arose).

Also, apologies for the long lag in replying; for some reason, I didn't receive any notification about your post (although I'm supposed to be subscribed to this issue).

FreeAgent avatar Sep 18 '16 19:09 FreeAgent