-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Control Autocomplete options position #15640
Comments
Adds an input that allows the consumer to control the autocomplete panel's position. In some cases our automatic positioning might not be appropriate and currently there's no way for consumers to override it. Fixes angular#15640.
Adds an input that allows the consumer to control the autocomplete panel's position. In some cases our automatic positioning might not be appropriate and currently there's no way for consumers to override it. Fixes angular#15640.
Adds an input that allows the consumer to control the autocomplete panel's position. In some cases our automatic positioning might not be appropriate and currently there's no way for consumers to override it. Fixes #15640.
Hello all, @crisbeto I've seen your commit, is there a way to implement it as an override on angular mat 7 autocomplete component? I can't move to version 8 right now... I'm trying to force autocomplete to open always down witout success so far.... |
Adds an input that allows the consumer to control the autocomplete panel's position. In some cases our automatic positioning might not be appropriate and currently there's no way for consumers to override it. Fixes angular#15640.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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:
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?
Related requests are: #5205, #8540 and #11492
The text was updated successfully, but these errors were encountered: