...@@ -561,6 +561,11 @@ GitLabDropdown = (function() { ...@@ -561,6 +561,11 @@ GitLabDropdown = (function() {
!$target.data('isLink') !$target.data('isLink')
) { ) {
e.stopPropagation(); e.stopPropagation();
// This prevents automatic scrolling to the top
if ($target.is('a')) {
return false;
}
} }
return true; return true;
... ...
......
---
title: Fix label click scrolling to top
merge_request: 29202
author:
type: fixed