jamonholmgren / ProMotion

ProMotion is a RubyMotion gem that makes iPhone development less like Objective-C and more like Ruby.
MIT License
1.26k stars 148 forks source link

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

Open FreeAgent opened 8 years ago

FreeAgent commented 8 years ago

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.

andrewhavens commented 8 years ago

@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.

FreeAgent commented 8 years ago

@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).