Commit 3d5ad28
committed
feat: set pending state before debounced requests
In the `makeFindMixin`, if the request is going to be debounced, the `isFind<Items>Pending` attribute is now set before the debounce timeout. This assures that a loading indicator can be shown during the debounce timeout. It makes pagination operate much more smoothly.1 parent a5cabad commit 3d5ad28
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
244 | 254 | | |
245 | 255 | | |
246 | 256 | | |
| |||
0 commit comments