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

The Suggested lists in IOS may limit height #48

Open
hungthe50 opened this issue May 20, 2019 · 10 comments
Open

The Suggested lists in IOS may limit height #48

hungthe50 opened this issue May 20, 2019 · 10 comments
Labels
F-AutoSuggestBox Feature: AutoSuggestBox control Platform Specific: iOS

Comments

@hungthe50
Copy link

hungthe50 commented May 20, 2019

The Suggested lists in IOS may limit height, or height limit according to the number of items as on Android, instead of stretching the entire screen
Thank you
image

@dotMorten
Copy link
Owner

Is there any presedence for this elsewhere in iOS? Do you have screenshots of others apps doing this?

@hungthe50
Copy link
Author

image
Height of the suggested lists have limit by amount item of ItemsSource,
It looks like the image above,
Or you can add an attribute to specify the height of the suggestion list
Thank you

@rapcgutz
Copy link

@hungthe50 Can share how you make the column into 2?

@dotMorten
Copy link
Owner

The above screenshot is from a Windows Phone. I'd like to see other apps on iOS specifically that does these auto complete lists and don't go all the way down (the control is meant to match the UX patterns of the platform, not to look the same across different platforms)

Repository owner deleted a comment from rapcgutz May 22, 2019
Repository owner deleted a comment from rapcgutz May 22, 2019
@hungthe50
Copy link
Author

image
Can you do like this? @dotMorten

@hungthe50
Copy link
Author

@gutierrezralph No I copy example on internet, I wan't limit height the suggested list like it in IOS

@shaunwurdeman
Copy link

Is there any way for us to use a custom renderer or set a value on the autosuggestbox to force it to behave on iOS as it does on Android? i.e. only display as many rows as there are items, with no empty rows causing it to stretch to the bottom of the screen.

@dotMorten dotMorten added F-AutoSuggestBox Feature: AutoSuggestBox control Platform Specific: iOS labels Nov 12, 2019
@amartsineuskigodeltech
Copy link

amartsineuskigodeltech commented Feb 14, 2020

+1
Any updates? @dotMorten

@dotMorten
Copy link
Owner

@amartsineuskigodeltech not sure how to address this. iOS constraints are still magic to me. But it's bottom location is handled by this line: https://github.com/dotMorten/XamarinFormsControls/blob/484b77966a16326655075155d7915d6ca2b06caf/AutoSuggestBox/Platform/NativeAutoSuggestBox.iOS.cs#L199

@dotMorten dotMorten mentioned this issue Mar 30, 2020
@irfanrana44772
Copy link

irfanrana44772 commented Aug 31, 2020

hi doMorten,
if you are using ListView for opening the dropdown then set empty footer like footer="" in list Xaml.
I think your issue resolved with this query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-AutoSuggestBox Feature: AutoSuggestBox control Platform Specific: iOS
Projects
None yet
Development

No branches or pull requests

6 participants