Commit 826e287
committed
[IMP] web_widget_numeric_step: throttle update calls when scrolling on field
Before this changes, when scrolling on a field, the price update was collapsed because lots of calls to the function was made in a few seconds.
With this changes, the field update, when using the scroll is limited to 1 each 0,1 seconds and the info is updated correctly.1 parent 271ad52 commit 826e287
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
0 commit comments