You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've drafted a PR (#106) for a debounce feature allowing the input value to only be updated after N milliseconds of inactivity. This would dramatically reduce the pain of calling this.debounce in all of my application logic where user input causes spammy requests in some cases.
Does this look and or sound like a reasonable addition to this element? Improvement suggestions welcome!
The text was updated successfully, but these errors were encountered:
iainjreid
added a commit
to iainjreid/polymer-elements_iron-input
that referenced
this issue
Apr 4, 2017
This adds an optional 'debounceUpdate' parameter to the element to reduce spammy updates from the User in cases where a delayed update would be preferable.
Ideally, I think that this functionality would sit in a behaviour so it could be easily shared around, but the update logic in this component is currently tightly coupled with the component itself. Without some intervention or advice from the Polymer team, I'm not sure how easy that would be to orchestrate... As always, suggestions welcome though!
I've drafted a PR (#106) for a debounce feature allowing the input value to only be updated after N milliseconds of inactivity. This would dramatically reduce the pain of calling
this.debounce
in all of my application logic where user input causes spammy requests in some cases.Does this look and or sound like a reasonable addition to this element? Improvement suggestions welcome!
The text was updated successfully, but these errors were encountered: