This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
autocomplete: shows dropdown on top even when there is no room #10859
Copy link
Copy link
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.for: internal contributorThe team will address this issue and community PRs are not requested.The team will address this issue and community PRs are not requested.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedseverity: inconvenienttype: bugux: integration
Milestone
Description
Actual Behavior:
What is the issue? *
Sometimes the autocomplete dropdown will be shown at thetop
of an input, partially out of the screen, but it should bebottom
position in this case.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
https://codepen.io/dumchikov/pen/zdRrYO
Steps to reproduce
- The
md-autocomplete
should not havemd-dropdown-position
(position should be determined automatically) - The
md-autocomplete
's input should be placed below the screen, so the window should be scrolled to see the input. - Scroll the window until the
md-autocomplete
's input gets the top of the window - Focus the input
- The autocomplete dropdown will be shown at the top of input partially out of the screen, but should be at the input's bottom
AngularJS Versions: *
AngularJS Version:
1.5.5AngularJS Material Version:
1.1.4
Additional Information:
Browser Type: *
Chrome, FF, IEBrowser Version: *
Chrome - 60.0.3112.90, FF - 54.0.1, IE - 11OS: *
Window 7
Another issue reproduced on FF and IE only - after closing the dropdown the window is scrolled to the window top.
alexthewilde, DollarAkshay and rajathms
Metadata
Metadata
Assignees
Labels
P3: importantImportant issues that really should be fixed when possible.Important issues that really should be fixed when possible.for: internal contributorThe team will address this issue and community PRs are not requested.The team will address this issue and community PRs are not requested.has: Pull RequestA PR has been created to address this issueA PR has been created to address this issueresolution: fixedseverity: inconvenienttype: bugux: integration