-
Notifications
You must be signed in to change notification settings - Fork 3.4k
autocomplete: dropdown detaches on scroll when inside $mdDialog #11478
Comments
From the Material Design spec on Dialogs:
That said, we should probably still support this case. It looks like the problem is in material/src/core/util/util.js Lines 225 to 227 in ca10bd0
This causes the second call's |
I'm also facing the same issue. When this issue will be fixed ? |
@Suvarnni after most of the P1 and P2 issues are fixed or a community member submits a PR to fix it. Though I will warn that this would be one of the more challenging issues for a community member to fix. That said, if you want to investigate and provide detailed feedback and ideas towards a fix, it would help move this faster. |
This is a major UX problem. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
A fix would be awesome! |
Bug
CodePen and steps to reproduce the issue:
CodePen which demonstrates the issue: YJZyyE
Detailed Reproduction Steps:
What is the expected behavior?
Either the scroll should be disabled (which is the default behavior when the md-autocomplete is not inside a md-dialog), or the scroll should happen but with the dropdown not detaching.
What is the current behavior?
The scroll happens with the dropdown menu detaching itself from the autocomplete field.
What is the use-case or motivation for changing an existing behavior?
This is bad UX
Which versions of AngularJS, Material, OS, and browsers are affected?
The text was updated successfully, but these errors were encountered: