Skip to content

Commit 82293e4

Browse files
committed
fix(typeahead): propagate redrawn
1 parent 6b120db commit 82293e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/autocomplete/typeahead.js

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function Typeahead(o) {
9191
.onSync('closed', this._onClosed, this)
9292
.onSync('shown', this._onShown, this)
9393
.onSync('empty', this._onEmpty, this)
94+
.onSync('redrawn', this._onRedrawn, this)
9495
.onAsync('datasetRendered', this._onDatasetRendered, this);
9596

9697
this.input = new Typeahead.Input({input: $input, hint: $hint})
@@ -190,6 +191,10 @@ _.mixin(Typeahead.prototype, {
190191
this.eventBus.trigger('empty');
191192
},
192193

194+
_onRedrawn: function onRedrawn() {
195+
this.eventBus.trigger('redrawn');
196+
},
197+
193198
_onShown: function onShown() {
194199
this.eventBus.trigger('shown');
195200
if (this.autoselect) {

0 commit comments

Comments
 (0)