Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't update data on each datepicker keystroke #28

Closed
nicoespeon opened this issue Jun 6, 2016 · 1 comment
Closed

Don't update data on each datepicker keystroke #28

nicoespeon opened this issue Jun 6, 2016 · 1 comment
Assignees
Labels

Comments

@nicoespeon
Copy link
Owner

When you type a date, data gets refresh between 2 keyboard strokes, which is not desired and make it lag.

2 possible solutions:

  • debounce datepickers streams so it would wait enough between 2 keystrokes
  • listen to another event than the update one (kind of a mouseout event)
@nicoespeon
Copy link
Owner Author

nicoespeon commented Jun 10, 2016

Note: test .debounce(500) instead of focusout > better UX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant