Skip to content

Limit autocomplete height on AutocompleteArrayInput - #2914

Merged
fzaninotto merged 4 commits into
marmelab:masterfrom
tiagoschenkel:improve-autocomplete-array-input
Feb 26, 2019
Merged

fzaninotto merged 4 commits into
marmelab:masterfrom
tiagoschenkel:improve-autocomplete-array-input

Conversation

@tiagoschenkel

Copy link
Copy Markdown
Contributor

The component AutocompleteArrayInput will render all the choices in a full container without scroll options. This is not a good idea when dealing with huge lists, as a list of possible countries in the world.

The property choicesMaxHeight will limit the size of the choices container, enabling the scrolling of the content.

@tiagoschenkel tiagoschenkel changed the title Added choicesMaxHeight property to AutocompleteArrayInput Add choicesMaxHeight property to AutocompleteArrayInput Feb 22, 2019
@fzaninotto

Copy link
Copy Markdown
Member

Please reproduce what's been done on the <AutocompleteInput> component instead (limiting the choices paper to 50% of the screen).

@tiagoschenkel
tiagoschenkel changed the base branch from next to master February 25, 2019 10:51
@tiagoschenkel tiagoschenkel changed the title Add choicesMaxHeight property to AutocompleteArrayInput Limit autocomplete height on AutocompleteArrayInput Feb 25, 2019
@tiagoschenkel

Copy link
Copy Markdown
Contributor Author

Removed the parameter choicesMaxHeight and implemented same changes added to AutocompleteInput (#2415).

This pull request is now against master since would be considered as a bug fix instead of a new feature.

@djhi djhi added this to the 2.7.3 milestone Feb 26, 2019
@fzaninotto
fzaninotto merged commit f8683ff into marmelab:master Feb 26, 2019
@fzaninotto

Copy link
Copy Markdown
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants