Response title
This is preview!
I had noticed that filter performance in 1.4 had seemed sluggish compared to 1.3 and earlier. It appears that a 250ms delay (verified by inspecting the source JS) has been introduced. As described here:
http://api.jquerymobile.com/filterable/
The filterable widget reacts to the change
signal by reading the value of the input after a short delay and iterating...
Can anyone shed any light on why this might be?
It gives the appearance of being far less responsive because of the delay.
As with the listview extension, you can provide custom callback functions to the filter or override the filter altogether on thefilterablebeforefilter
event. Please note that the filter has a delay of 250ms before the filter actually triggers. This prevents running the filtering function multiple times while the user is typing.
Thanks @bagman.
Hmm, ok I can understand if I have a very large set of data to filter, but if not this seems like an unnecessary delay. Would be nice if it was configurable.
© 2013 jQuery Foundation
Sponsored by and others.