Fix label click scrolling to top
This commit is contained in:
parent
202e525119
commit
c9c7fa7bbb
2 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix label click scrolling to top
|
||||
merge_request: 29202
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue