angular / material

Material design for AngularJS
https://material.angularjs.org/
MIT License
16.55k stars 3.39k forks source link

autocomplete results container height is not ok with a query ( after clear() ) #6197

Closed NicolasBlois closed 8 years ago

NicolasBlois commented 8 years ago

ezgif-820990270

alexkb commented 8 years ago

+1

Confirming issue is in Chrome & Firefox but not IE10/IE11.

NicolasBlois commented 8 years ago

@kseamon @ThomasBurleson

rfuhrer commented 8 years ago

+1 seems to be some sort of race condition because I can cause the cause the issue on https://material.angularjs.org/latest/demo/autocomplete in the custom template section just by picking one and then clearing it multiple times. It breaks about 95% of the time within 4 select and clears, sometimes it only takes one.

jameswyse commented 8 years ago

:+1: Seeing this in 1.0.1

GavinPalmer1984 commented 8 years ago

+1 nice GIF by the way (never seen that used in a bug report and I am curious how you did it)

also note that clicking on the item in the popup after pressing the clear button will sometimes require two clicks even when the list is not shrunken.

NicolasBlois commented 8 years ago

@GavinPalmer1984 : I used a screen recorder (kazam on ubuntu) then I convert it to gif @robertmesserle https://github.com/angular/material/pull/6346/files this resolves this issue for me.

ThomasBurleson commented 8 years ago

Already fixed in HEAD.