-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Please describe the feature you would like to request.
I'd like to be able to control the position of the autocomplete options. For example via an additional input to autocomplete with options:
- auto: Current behavior
- bottom: force to always show below the input field
- top: force to always show above the input field
Or like with scroll strategy make it possible to inject a custom positionStrategy.
What is the use-case or motivation for this proposal?
Right now the options decide whether to position above the trigger element or below the element dependent on the space in the viewport. Sometimes I'd like to force the autocomplete to display the options always below, e.g. when some importent UI-elements are above the trigger element that would be hidden by displaying the auto complete options above and leaving these elements visible is more importent thant forcing the user to scroll such that the auto complete options are fully in the viewport again.
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix