Skip to content

debounser for inputs? #60

@tomByrer

Description

@tomByrer

Testing:

  1. MFiddle:Examples/2-way-binding
  2. type in the number box 99
  3. first time 9 key is pressed, the value entered is 09, & the sliders jump to the left
  4. second 9, the intended value of 99 is fully entered, & sliders jump to right

Though here only 2 sliders are affected, but imagine a large spreadsheet that graphs results? That could be alot of jumpiness in the SPA.
In another platform, we would prevent jumpy values (& reduce CPU usage) by having a global 'heartbeat' function. Please let me know if you want a demo/explanation (bit long to explain).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions