material icon indicating copy to clipboard operation
material copied to clipboard

md-autocomplete: suggestions cannot display with keyboard navigation for variable height elements

Open du6 opened this issue 9 years ago • 1 comments

Actual Behavior:

  • What is the issue? * md-autocomplete suggestions cannot display with keyboard navigation for variable height elements
  • What is the expected behavior? expect to fully display the suggestion element with ARROW DOWN clicked

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/anon/pen/Wpgzpa
  • Details: It can be reproduced by simply increase the height of one suggestion element in the md-virtual-repeat-container: https://screenshot.googleplex.com/SEXKEB10OPX

du6 avatar Mar 27 '17 19:03 du6

I am not able to access the https://screenshot.googleplex.com link.

However, md-autocomplete uses md-virtual-repeat under the covers. As mentioned in https://github.com/angular/material/issues/9422#issuecomment-350540226, Virtual Repeat does not support dynamically sized items and thus neither does md-autocomplete.

Splaktar avatar Mar 01 '18 07:03 Splaktar