Dropdown menu not shown with auto layout

2 posts, 0 answers
  1. Ferdinando
    Ferdinando avatar
    9 posts
    Member since:
    Mar 2016

    Posted 24 Mar Link to this post


    I have been testing the AutoCompleteTextView in the last period in an empty page, and I have managed to make it behave (and look) almost as I want. 

    Now I am trying to include it in my project, but the suggestion view (the dropdown menu) does not appear. I have a complex layout, so I can't post it here, but I can say that I am using auto layout and constraints to place it in the right position (and not by setting the CGRect as in the examples). The AutocompleteTextView appears, and it is possible to write it inside, but I don't manage to make the dropdown appear. Are there any examples regarding this case or any remarks / things to consider in this situation?

  2. Sophi
    Sophi avatar
    97 posts

    Posted 29 Mar Link to this post

    Hi Ferdinando,
    The TKAutoCompleteTextView has a complicated structure, the behavior depends on the setup you have used. Right now I cannot say much because I do not have your code sample and it makes the task quite abstract.

    What I can advice you is to consider which will be more appropriate to use in your case TKAutoCompleteController or just the TKAutoCompleteTextView, the controller should simplify your hierarchy 
    and reduce the chance of layout conflicts.

    If you can send us a code sample or a example project with the isolated issue, we will be able to say where the issue is coming from and possibly how to resolve it.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top