This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #11382. #11764. Only prevent click events on disabled elements.
We don't want a disabled link/button to register delegated clicks, but we do want events like mouseover or custom events. This is a compromise, there is no perfect solution. Well, the browsers could be consistent about direct vs. delegated events but *that's* not gonna happen.
- Loading branch information
Showing 2 changed files with 16 additions and 7 deletions.