mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e75b0094d0
Closes [@hotwired/turbo#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/turbo#243]: https://github.com/hotwired/turbo/issues/243#issuecomment-818792129 [addEventListener]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#parameters Co-authored-by: Javan Makhmali <javan@basecamp.com> |
||
---|---|---|
.. | ||
assets/javascripts | ||
controllers | ||
javascript/activestorage | ||
jobs/active_storage | ||
models/active_storage |