Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ActiveStorage: Pass
useCapture
to UJS listener
Closes [@hotwired/turborails#243][]. Set the `useCapture` parameter of [addEventListener][] to `true` so that cancelling the event occurs early enough in the process so that the resulting upload is cancelled. [@hotwired/turborails#243]: hotwired/turbo#243 (comment) [addEventListener]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#parameters Co-authored-by: Javan Makhmali <javan@basecamp.com>
- Loading branch information