Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell located underneath a Section Header View is still able to be touched. #156

Open
viewDidAppear opened this issue Dec 1, 2012 · 8 comments

Comments

@viewDidAppear
Copy link

I have custom views for my Section Headers, and when a cell is partially scrolled underneath it, tapping a Section Header for my custom navigation will tap the cell instead. Almost as though the touch is going through the Header View. Any way for me to edit files to stop this from occurring?

@kolinkrewinkel
Copy link
Owner

enable userInteraction on the header views probably

@viewDidAppear
Copy link
Author

Is there a specific file of KKGV that I have to edit to allow this? Because, I have a UIButton on the left side that gets disabled if I turn off userInteractionEnabled. It seems to be even though I tap on the Button or Header UIView itself, the Cell underneath it still gets selected even though it's under the header view.

@viewDidAppear
Copy link
Author

I think it has to do with viewableItems method inside the Source Code, it doesn't take into effect intersecting the rect of a Section Header.

@kolinkrewinkel
Copy link
Owner

That's because it may still need to show them if there's a transparent header.

Sent from my iPhone

On Dec 1, 2012, at 19:19, cocotutch [email protected] wrote:

I think it has to do with viewableItems method inside the Source Code, it doesn't take into effect intersecting the rect of a Section Header.


Reply to this email directly or view it on GitHub.

@viewDidAppear
Copy link
Author

Is there any way to stop it still recognizing the taps if I'm tapping inside the header?

@viewDidAppear
Copy link
Author

I'm sure if I edited a touch selection method or something I could get this to work. Seriously is there anything I can do?

@kolinkrewinkel
Copy link
Owner

I'll look when I get home.

Sent from my iPhone

On Dec 1, 2012, at 19:47, cocotutch [email protected] wrote:

I'm sure if I edited a touch selection method or something I could get this to work. Seriously is there anything I can do?


Reply to this email directly or view it on GitHub.

@viewDidAppear
Copy link
Author

How did you go?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants