Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 108 forks source link

Permanent loading state after Router.go() #42

Closed dandv closed 10 years ago

dandv commented 10 years ago

TODO - need to push some minimal reproduction code, but thought I'd throw this out there overnight.

I have a navbar with a token-less autocomplete input in it. The autocomplete picks a company from a list of companies, with the callback calling Router.go() to a page about that company. Demo at http://stockbase.co:3000/

After the first Router.go(), onKeyUp returns every time because @$element is undefined. Do I need to re-render the control somehow?

mizzao commented 10 years ago

@dandv: c79402f910c0b5ae79abb6a8f0d06951d861a076 should fix this. Can you try it?

mizzao commented 10 years ago

0.4.4 is released and I believe it fixes this issue. Please re-open if this is not the case.

dandv commented 10 years ago

Confirmed fix!