final-form / final-form/react-final-form-listeners
Successive clicks on label are throttling OnChange listener
- Dominant language
- TypeScript
- Stars
- 95
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
bug report
### What is the current behavior?
When a user clicks on a checkbox label, the event on the input is throttled causing the listening field stale to become stale.
### What is the expected behavior?
It should toggle quickly like clicking on the input directly does.
### Sandbox Link
https://codesandbox.io/s/zk2kmrwppm
Check both boys and girls then successively click the boys/girls label.
### What's your environment?
OSX, Node v8.11.1, npm 5.6.0
```
"final-form": "^4.10.0",
"react-final-form": "^3.6.5",
"react-final-form-listeners": "^1.0.1",
```
### Other information
This example is being used for another issue.
Contributor guide
Assessment
This issue has not been assessed yet.