Fixes the Copy commit SHA button in commits list

What does this MR do and why?

Fixes the Copy commit SHA button in commits list

This lets the click events bubble up when they got triggered by interactive elements. This ensures that the copy-to-clipboard button's beahvior catches those clicks as expected.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Navigate to a project's commits list (eg https://gdk.test:3443/gitlab-org/gitlab-test/-/commits/master).
  2. Click on the Copy commit SHA button next to one of the commits.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading