Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check for synthetic click event before dispatching click away
Fixes phoenixframework#3040 When pressing enter inside a form, a click event is dispatched on the corresponding submit button. Because we only set the clickStartedAtTarget on mousedown, we would wrongly dispatch a click away.
- Loading branch information