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
can't click on suggestion #16
Comments
I have the same problem. I think it's because using MLPAutocomleteTextField inside UITableView, so all touch events are intercepted by tableview. |
akaru has the right idea. The problem is actually that the tableview of autocomplete suggestions is a subview of the UITableViewCell, but it lies outside the touchable area of the UITableViewCell, so it won't receive touch events, but it's still visible because the cell doesn't clip it's bounds. A quick way to get around this problem is to not use the drop down style autocomplete table, instead use the keyboard accessory version. |
I had the same problem, but I had forgot to set the field's delegate as itself, as in the example:
Whether it was a dropdown table or keyboard accessory didn't seem to make a difference. |
Are you saying you can't select items from the keyboard accessory either when the textfield is inside a tableview cell? If so, then that's the first time I've heard that issue. |
I had a problem where the protocol method (which I copied from the demo) was not being called, but realized I forgot to set the delegates; I'm new to iOS but think that was my problem. The drop down appeared, the keyboard accessory appeared, but the NSLog statements were not called. — On Thu, Nov 28, 2013 at 3:00 PM, Eddy Borja notifications@github.com
|
Kevin, I'm seeing something similar. It started happening once I assigned the delegate for the MLPAutoCompleteTextField to the view controller (because I needed to do some stuff to handle the keyboard covering things up). Once I did this though, the UITableView doesn't receive the row selected event. The table does go away, but the field isn't updated. I might be missing a [super] or something. I'll investigate more. |
I think this issue has been fixed in #30 as well. The screenshot wiistriker has uploaded shows a UITableView. |
I seem to be having the same issue. Dropdown is not clickable when the textfield is inside a |
+1 I encounter the same problem when the textfield is in a UITableView (not a cell). |
I solved It by subclassing my UITableViewCell:
|
I implement simple datasource for autocomplete list and show suggestions, but when i try to select one of the suggestion it do nothing.
I also try to implement some delegate methods like:
Nothing happens.
http://s1.ipicture.ru/uploads/20131008/At8TrUtS.png
The text was updated successfully, but these errors were encountered: