Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(field): use onChange return as preventDefault only in RN (#4596)
Issue #4309 adds a way to cancel dispatches from RN. However, the method added also impacts React Web. This leads to a regression in React Web due to application of RN behavior. The current change locks the change from #4309 to RN, and maintains existing behavior otherwise. Related: - #4391 outlines a case where this regression may cause problems. While the issue mentions RN, this can easily occur outside RN as well. - #4401 describes a similar issue and a user-end fix.
- Loading branch information