Commit 92b06c13 authored by Fatih Acet's avatar Fatih Acet

Merge branch '61246-fix-label-click-scroll-to-top' into 'master'

Fix label click scrolling to top

Closes #61246

See merge request gitlab-org/gitlab-ce!29202
parents 422fa21d c9c7fa7b
......@@ -565,6 +565,11 @@ GitLabDropdown = (function() {
!$target.data('isLink')
) {
e.stopPropagation();
// This prevents automatic scrolling to the top
if ($target.is('a')) {
return false;
}
}
return true;
......
---
title: Fix label click scrolling to top
merge_request: 29202
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment