Skip to content

Fix event location detection for the branch list

What does this MR do and why?

Contributes to #408438 (closed)

Follow-up for !118775 (merged)

Problem

target points exactly to the clicked event. Because of that, we cannot correctly discover and unfold the branch list element.

Solution

Use currentTarget method to avoid this situation.

How to set up and validate locally

  1. Open http://127.0.0.1:3000/root/gitlab-test/-/commit/ddd0f15ae83993f5cb66a927a28673882e99100b
  2. Click on ...
  3. You should see all related branches
  4. Refresh the page
  5. Click on area around ...
  6. You should see all related branches

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports

Loading