Angularjs Dropdown Autocomplete not render


For AngularJS, we are using md autocomplete  to generate and render our dropdown. The height of dropdown determine automatically during our first load. But if the data is change when we re-select other option(like data change when using ajax). Sometimes it might be not render completely and you will get height=0

This kind of bug is hunting during our debugging and finally we got solution for this. Way to fix it is we need to tell browser to regenerate that page, or update the size of that dropdown.

Just put this one line of code where action needed.



Good Luck. Hopefully this snippet to render autocomplete dropdown in angularjs will help.

For more angularjs complete documentation, please find here

Here some post related might be you interested




You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *